Q. Which of the following will create a tuple?

  • (A) []
  • (B) {}
  • (C) ()
  • (D) (1, 2)
πŸ’¬ Discuss
βœ… Correct Answer: (D) (1, 2)
Explanation: `(1, 2)` creates a tuple, which is an immutable ordered collection.
Explanation by: Mr. Dubey
`(1, 2)` creates a tuple, which is an immutable ordered collection.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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