0
When i add "else" it say "SyntaxError"
I'm trying to do the example of the lesson, but i can't 'cause i can't add "else"
2 Answers
+ 3
check indentation and use ":" like this.
if a > b:
print(a)
else:
print(b)
+ 1
check indentation
I'm trying to do the example of the lesson, but i can't 'cause i can't add "else"