0
How to make indentations?
4 Answers
+ 3
An indentation is just like 4 spaces but try to reword your question kid
+ 2
The code playground on mobile has a tab key above the normal keyboard or use the tab key on your keyboard if using PC.
In Python, the indentation is primarily used instead of brackets/braces. In other languages it's usually just whitespace to help with readability.
0
def function(x,y):
print(x)
print(y)
print(x+y)
âŹïžindented spaces
0
Yes, you must be aware of that. Once I copied some code from IDE to Sololearn it was a problem cause I used Tab there and in SL it looked like everything is ok but till I "re-idented" that code again it didn't work.