πŸ“Š Python
Q. Which method is used to reverse a list in place?
  • (A) invert()
  • (B) reverse()
  • (C) flip()
  • (D) turn()
πŸ’¬ Discuss
βœ… Correct Answer: (B) reverse()

Explanation: reverse() reverses the list without creating a new one.

Explanation by: Mr. Dubey
reverse() reverses the list without creating a new one.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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