Why do we need tuples?



Why do we need tuples?..

Answer / Swarn Kant Gautam

Tuples are useful because they allow us to group multiple pieces of data together as a single unit, and they maintain the original order and type of the data. This makes them very handy for situations where we want to keep track of multiple related values.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

Is python zero indexed?

1 Answers  


What is the python syntax for switch case statements?

1 Answers  


What are the differences between pyramid, django, and flask?

1 Answers  


What is whitespace in python?

1 Answers  


How to prevent blocking in content() method of socket?

1 Answers  


Which methods/functions do we use to determine the type of instance and inheritance?

1 Answers  


Optionally, what statements can you put under a try-except block?

1 Answers  


What is the best code you can write to swap two numbers?

1 Answers  


What is __init__?

4 Answers  


Explain Inheritance in Python?

1 Answers  


Is python a shell script?

1 Answers  


Explain me what are the key features of python?

1 Answers  


Categories