πŸ“Š Python
Q. What will be the output of following Python code?
Code:
list1=[1,3,4,2]

x=list1.pop(2)

print(set([x]))
  • (A) {1,3,4}
  • (B) {1,3,2}
  • (C) {2}
  • (D) {4}
πŸ’¬ Discuss
βœ… Correct Answer: (D) {4}

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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