πŸ“Š Python
Q. What will be the output of the following code snippet?
Code:
a = "4, 5"
nums = a.split(',')
x, y = nums
int_prod = int(x) * int(y)
print(int_prod)
  • (A) 20
  • (B) 45
  • (C) 54
  • (D) 4,5
πŸ’¬ Discuss
βœ… Correct Answer: (A) 20

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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