0
I wrote if function but when I write print("xxx") it gives error. What is the wrong?
4 odpowiedzi
+ 1
if 10>5:
print('xxx')
use either 2 or 4 spaces. generally 4 spaces are used for indenting.
0
show your code please
0
>>>if 10>5:
...print("hello world")
and says expected an indented block.
0
thanks so much :)