0 like 0 dislike
10 views
What is a tuple in Python?
in Python Coding by Wooden (1.4k points) | 10 views

1 Answer

0 like 0 dislike
Best answer
A tuple is a collection type data structure in Python which is immutable.

They are similar to sequences, just like the lists. However, There are some differences between a tuple and list; the former doesn’t allow modifications whereas the list does.

Also, the tuples use parentheses for enclosing, but the lists have square brackets in their syntax.
by Wooden (1.4k points)

Related questions

0 like 0 dislike
1 answer
Welcome to MathsGee Skills Question and Answer Bank, a platform, where you can ask study questions and receive answers from other members of the community. Help is always 100% FREE!
MathsGee Q&A is the knowledge-sharing community where millions of students and experts put their heads together to crack their toughest homework questions.

Enter your email address:

Popular Courses

Python For First Timers
Python For Everyone