Python - Conditional Statements
Given this code, what will be printed if value = 0?
value = 0
if value:
print("True")
elif value == 0:
print("Zero")
else:
print("False")Given this code, what will be printed if value = 0?
value = 0
if value:
print("True")
elif value == 0:
print("Zero")
else:
print("False")15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions