πŸ“Š Python
Q. Output of the following python program will be?
Code:
l = [1,2,6,5,7,8] 
l.insert(9)
  • (A) Error
  • (B) l=[9,1,2,6,5,7,8]
  • (C) l=[1,2,6,5,7,8,9]
  • (D) l=[1,2,6,5,9.7,8] (insert randomly at any position)
πŸ’¬ Discuss
βœ… Correct Answer: (A) Error

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
223
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Parvesh Kanani
Publisher
πŸ“ˆ
95%
Success Rate