πŸ“Š Python
Q. What will be the output of the following code snippet?
Code:
a = [1, 2]
print(a * 3)
  • (A) Error
  • (B) [1, 2]
  • (C) [1, 2, 1, 2]
  • (D) [1, 2, 1, 2, 1, 2]
πŸ’¬ Discuss
βœ… Correct Answer: (D) [1, 2, 1, 2, 1, 2]

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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