πŸ“Š Python
Q. What will be the output of the following Python code?
Code:
num = 10

if num > 0:
    print("Positive number")
elif num == 0:
    print("Zero")
else:
    print("Negative number")
  • (A) Positive number
  • (B) Negative number
  • (C) Real number
  • (D) None of the mentioned above
πŸ’¬ Discuss
βœ… Correct Answer: (A) Positive number

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
275
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
98%
Success Rate