πŸ“Š Python
Q. What will be the output of the following code snippet?
Code:
example = ["Sunday", "Monday", "Tuesday", "Wednesday"];
del example[2]
print(example)
  • (A) ['Sunday', 'Monday', 'Tuesday', 'Wednesday']
  • (B) ['Sunday', 'Monday', 'Wednesday']
  • (C) ['Monday', 'Tuesday', 'Wednesday']
  • (D) ['Sunday', 'Monday', 'Tuesday']
πŸ’¬ Discuss
βœ… Correct Answer: (B) ['Sunday', 'Monday', 'Wednesday']

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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