1.
Q7: What is the output of the following code?
x = 0
if x = 0: # look closely!
print("0 is true")
else:
print("0 is false")
- 0 is true
- 0 is false
- There is no output because a compiler error occurs
- There is no output because an exception occurs