πŸ“Š Python
Q. How do you access the second element in a list x = [10, 20, 30]?
  • (A) x[1]
  • (B) x(1)
  • (C) x{1}
  • (D) x.1
πŸ’¬ Discuss
βœ… Correct Answer: (A) x[1]

Explanation: List elements are accessed using square brackets and zero-based indexing.

Explanation by: Mr. Dubey
List elements are accessed using square brackets and zero-based indexing.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
50
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
81%
Success Rate