πŸ“Š Python
Q. What will be the output of the following code snippet?
Code:
def check(a):
   print("Even" if a % 2 == 0 else "Odd")
   
check(12)
  • (A) Even
  • (B) Odd
  • (C) Error
  • (D) None
πŸ’¬ Discuss
βœ… Correct Answer: (A) Even

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
469
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Akash Lawaniya
Publisher
πŸ“ˆ
80%
Success Rate