188k views
0 votes
Which is a correctly formatted Python tuple? [12, "circle", "square"] {"n":12, "shape1": "circle", "shape2": "square"} (12, "circle", "square") 12 circle square

User TDull
by
5.3k points

2 Answers

1 vote

Answer:

(12, "circle”, “square")

Step-by-step explanation:

User HaaR
by
5.2k points
4 votes

Answer:

(12, "circle”, “square")

Step-by-step explanation:

Python is a computer programming language that is used to write programs. In the python programming language, the Tuple is a data type that can be defined inside a parentheses "()". It is of immutable kind which means the elements inside the parentheses cannot be changed once the elements are inserted inside the tuple. It is also defined by "()" or by predefined function, tuple().

In the context, the correct format of python tuple is : (12, "circle”, “square").

User Anant Mittal
by
4.6k points