+ 1
What is else? A function or a statement
it does not have ; this as a statement neither () this like function.
6 RĂ©ponses
+ 4
It's a keyword, and can't be used simultaneously (without if construction). It's used, when we want to do something, if the condition in the if construction is false.
a = 5
b = 10
if (a >= b):
print("a is greater or equal to b")
else:
print("b is greater than a")
Without the else above we will not get an output, because b > a.
0
read my question properly please
0
it's a control structure
0
answer is in your question.
neither function nor statement