πŸ“Š Python
Q. What is the output of the below code?
Code:
myList=[1,2,3,5,3,4,6,9]

myList[-6:6]
  • (A) []
  • (B) [3, 5, 3, 4]
  • (C) [4, 3, 5, 3]
  • (D) Index Error
πŸ’¬ Discuss
βœ… Correct Answer: (B) [3, 5, 3, 4]

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
218
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
86%
Success Rate