Menu
×
×
Correct!
Exercise:Use the correct short hand syntax to put the following statement on one line:
if 5 > 2:
print("Yes")
else
print("No")
print("Yes") if 5 > 2 else print("No")
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 95 exercises.
Are you sure you want to continue?