DEV Community

I'm Just a Guy with a Computer
I'm Just a Guy with a Computer

Posted on

Tuples in Python.

Tuple is a sequence of immutable python Objects,Tuples cannot be changed unlike list Tuples use parenthese() while list uses square brackets[].
Enter the following to understand basics of a tuple.

vince  = ('chelsea','Barcelona','Manchester-United','Arsenal')

position  = (11,4,2,8,3)
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more