+ 1
How to write multiple statements in IF statement?
2 Answers
+ 2
I just wanted to know whether you are talking about multiple statements or multiple expression.
If you want to write multiple expression then follow Mr. Ben Koch (the above answer)
or else if you want to write multiple statement then just write one below the other like this
if 1!=2:
print('true')
print('the given numbers are not equal ')
+ 1
you can use 'and' or 'or' statements if (...) and/or (...) and/or (...) ...