0
How do you make blocks
Plese tell me how to make blocks And tell me what tipe of code is that
4 Respostas
+ 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/
+ 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.
+ 1
Let me try to understand your clarification:
1. You want to format the output
2. Your question is about Python
Am I correct?
0
not that i mean by putting a code with makes a block in the output