πŸ“Š Python
Q. What is the output of the following code?
Code:
a = lambda q: q * 2
b = lambda q: q * 3
x = 2
x = a(x) 
x = b(x) 
x = a(x) 
print x
  • (A) 2
  • (B) 6
  • (C) 24
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (C) 24

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
287
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Tanmay
Publisher
πŸ“ˆ
80%
Success Rate