πŸ“Š Python
Q. What is the output of the following Python code?
Code:
import array
a = array.array('i', [1, 2, 3])
del a[1]
print(a)
  • (A) array('i', [2, 3])
  • (B) array('i', [1, 3])
  • (C) [2, 3]
  • (D) [1, 3]
πŸ’¬ Discuss
βœ… Correct Answer: (B) array('i', [1, 3])

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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