+ 2
Can anyone tell me where i went wrong it says no output
3 Antworten
+ 6
Cat is not larger than 5..
to get the result just use that:
cat = 2
if cat > 5:
print("cat is bigger than 5")
else:
print ("cat is less than 6")
+ 3
cat is not larger than 5, so it never executes the print statement
use an else if you want to enter the second branch
+ 2
thank you that simple mistake made it wrong. I have to be really careful thank you