Discover the answers you need at Westonci.ca, where experts provide clear and concise information on various topics. Find reliable answers to your questions from a wide community of knowledgeable experts on our user-friendly Q&A platform. Get detailed and accurate answers to your questions from a dedicated community of experts on our Q&A platform.

How does Python recognize a tuple? You use tuple when you create it, as in "myTuple = tuple(3, 5)". You use brackets around the data values. You use parentheses around the data values. You declare myTuple to be a tuple, as in "myTuple = new tuple"

Sagot :

Answer:

Python recognizes a tuple when you have parenthesis and a comma. You use brackets when you're creating a list.

You cannot declare a tuple in that format. It has to be:

myTuple = (__, __) or something of the like. There are many ways you can do it, just not the way that you have it.

Explanation:

Python class.