Python - Conditional Statements
Consider this code:
What will it print and why?
value = 0
if value:
print('True')
else:
print('False')What will it print and why?
value = 0
if value:
print('True')
else:
print('False')15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions