Report Bug
Qus :

What will the following code output?

x=0
if x:
	print("True")
else:
	print("False")

Qusनिम्नलिखित कोड आउटपुट क्या होगा?

A. True
B. False
C. None
D. Error


Solution
B. False



Explanation

0 is considered False in Python.




Report Bug