0

How do you make blocks

Plese tell me how to make blocks And tell me what tipe of code is that

8th Jan 2019, 4:44 PM
Elmer
Elmer - avatar
4 Réponses
+ 8
Hello, 😊 Please, if you want us to help you, then show us your attempt, what you don't understand exactly, where you are struggling, it will be much easier!👍😉 Use the search bar! https://www.sololearn.com/post/10362/?ref=app Please, read our guidelines: https://www.sololearn.com/discuss/1316935/?ref=app An useful code for any new user here! ;) https://code.sololearn.com/WvG0MJq2dQ6y/
8th Jan 2019, 5:57 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 2
It means many lines of code. I checked your progress and you should be at indentation. It means, for example, if x > 7: a += 1 b += 1 print(a+b) You see, the three lines is a code block in the if statement and so they need same number of space at the beginning of each line. This is what indentation syntax requirement Python has.
8th Jan 2019, 4:54 PM
Gordon
Gordon - avatar
+ 1
Let me try to understand your clarification: 1. You want to format the output 2. Your question is about Python Am I correct?
9th Jan 2019, 3:31 AM
Gordon
Gordon - avatar
0
not that i mean by putting a code with makes a block in the output
8th Jan 2019, 4:59 PM
Elmer
Elmer - avatar