Top | 50 Python Control Flow & Conditional Logic quiz | Question 3

Last Updated :
Discuss
Comments

What will be the output of the following code snippet?

x = 5
if x > 0:
   print("Positive")
else:
   print("Negative")
 

Positive

Negative

Zero

Error

Share your thoughts in the comments