Menu
×
×
Correct!
Exercise:Use the correct one line short hand syntax to print "YES" if
a = 2
b = 5
print("YES") @(16) print("NO")
a = 2
b = 5
print("YES") if a == b else print("NO")
a = 2
b = 5
print('YES') if a == b else print('NO')
a = 2
b = 5
print("YES") if (a == b) else print("NO")
a = 2
b = 5
print('YES') if (a == b) else print('NO')
a = 2
b = 5
print("YES") if a==b else print("NO")
a = 2
b = 5
print('YES') if a==b else print('NO')
a = 2
b = 5
print("YES") if (a==b) else print("NO")
a = 2
b = 5
print('YES') if (a==b) else print('NO')
Not CorrectClick here to try again. Correct!Next ❯ |