A

Admin • 833K Points
Coach

Q. Which of the following will create a tuple?

  • (A) []
  • (B) {}
  • (C) ()
  • (D) (1, 2)
  • Correct Answer - Option(D)
  • Views: 21
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

`(1, 2)` creates a tuple, which is an immutable ordered collection.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.