0
Pleace help me!:
https://sololearn.com/compiler-playground/c0qcXB6nwHP2/?ref=app
2 Réponses
+ 4
It will output "Yes" because for a = 101, a is not < 100
+ 2
Yazan Alhallack ,
In your code you are using nested if and else statement...so you have to use 'elif' ....
For that the syntax is,
if(condition 1):
Statement 1
elif(condition 2):
Statement 2
else:
Statement 3
Try like this,
https://sololearn.com/compiler-playground/c4r0J8XC2DYw/?ref=app