René's URL Explorer Experiment


Title: Lists vs Tuples in Python – Real Python

Open Graph Title: Lists vs Tuples in Python – Real Python

Description: In this tutorial, you'll learn the key characteristics of lists and tuples in Python, as well as how to define and manipulate them. When you're finished, you'll have a good feel for when to use a tuple vs a list in a Python program.

Open Graph Description: In this tutorial, you'll learn the key characteristics of lists and tuples in Python, as well as how to define and manipulate them. When you're finished, you'll have a good feel for when to use a tuple vs a list in a Python program.

Mail addresses
?subject=Python article for you&body=Lists vs Tuples in Python on Real Python https://realpython.com/python-lists-tuples/

Opengraph URL: https://realpython.com/python-lists-tuples/

X: @realpython

direct link

Domain: realpython.com


Hey, it has json ld scripts:
{
  "@context": "http://schema.org",
  "@type": "Article",
  "headline": "Lists vs Tuples in Python",
  "image": {
    "@type": "ImageObject",
    "url": "https://files.realpython.com/media/Lists-and-Tuples-in-Python_Watermarked.a52798070b3e.jpg",
    "width": 1920,
    "height": 1080
  },
  "mainEntityOfPage": {
    "@type": "WebPage",
    "@id": "https://realpython.com/python-lists-tuples/",
    "lastReviewed": "2025-01-26",
    "author": {
      "@type": "Person",
      "name": "Leodanis Pozo Ramos",
      "image": "https://realpython.com/cdn-cgi/image/width=862,height=862,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/Perfil_final1.9f896bc212f6.jpg",
      "url": "https://realpython.com/team/lpozoramos/",
      "affiliation": {
        "@type": "Organization",
        "@id": "https://realpython.com/#organization",
        "name": "Real Python",
        "url": "https://realpython.com",
        "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
      }
    },
    "reviewedBy": [
      {
        "@type": "Person",
        "name": "Aldren Santos",
        "image": "https://realpython.com/cdn-cgi/image/width=500,height=500,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/Aldren_Santos_Real_Python.6b0861d8b841.png",
        "url": "https://realpython.com/team/asantos/",
        "affiliation": {
          "@type": "Organization",
          "@id": "https://realpython.com/#organization",
          "name": "Real Python",
          "url": "https://realpython.com",
          "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
        }
      },
      {
        "@type": "Person",
        "name": "Brenda Weleschuk",
        "image": "https://realpython.com/cdn-cgi/image/width=320,height=320,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/IMG_3324_1.50b309355fc1.jpg",
        "url": "https://realpython.com/team/bweleschuk/",
        "affiliation": {
          "@type": "Organization",
          "@id": "https://realpython.com/#organization",
          "name": "Real Python",
          "url": "https://realpython.com",
          "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
        }
      },
      {
        "@type": "Person",
        "name": "Dan Bader",
        "image": "https://realpython.com/cdn-cgi/image/width=1000,height=1000,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/daniel-square.d58bf4388750.jpg",
        "url": "https://realpython.com/team/dbader/",
        "affiliation": {
          "@type": "Organization",
          "@id": "https://realpython.com/#organization",
          "name": "Real Python",
          "url": "https://realpython.com",
          "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
        }
      },
      {
        "@type": "Person",
        "name": "Geir Arne Hjelle",
        "image": "https://realpython.com/cdn-cgi/image/width=800,height=800,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/gahjelle.470149ee709e.jpg",
        "url": "https://realpython.com/team/gahjelle/",
        "affiliation": {
          "@type": "Organization",
          "@id": "https://realpython.com/#organization",
          "name": "Real Python",
          "url": "https://realpython.com",
          "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
        }
      },
      {
        "@type": "Person",
        "name": "Joanna Jablonski",
        "image": "https://realpython.com/cdn-cgi/image/width=800,height=800,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/jjablonksi-avatar.e37c4f83308e.jpg",
        "url": "https://realpython.com/team/jjablonski/",
        "affiliation": {
          "@type": "Organization",
          "@id": "https://realpython.com/#organization",
          "name": "Real Python",
          "url": "https://realpython.com",
          "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
        }
      },
      {
        "@type": "Person",
        "name": "John Sturtz",
        "image": "https://realpython.com/cdn-cgi/image/width=1920,height=1920,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/real-python-logo-square.28474fda9228_1.146e987bf77c.png",
        "url": "https://realpython.com/team/jsturtz/",
        "affiliation": {
          "@type": "Organization",
          "@id": "https://realpython.com/#organization",
          "name": "Real Python",
          "url": "https://realpython.com",
          "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
        }
      },
      {
        "@type": "Person",
        "name": "Martin Breuss",
        "image": "https://realpython.com/cdn-cgi/image/width=456,height=456,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/martin_breuss_python_square.efb2b07faf9f.jpg",
        "url": "https://realpython.com/team/mbreuss/",
        "affiliation": {
          "@type": "Organization",
          "@id": "https://realpython.com/#organization",
          "name": "Real Python",
          "url": "https://realpython.com",
          "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
        }
      }
    ]
  },
  "datePublished": "2025-01-26T14:00:00+00:00",
  "dateModified": "2025-01-26T14:09:20.892535+00:00",
  "publisher": {
    "@type": "Organization",
    "@id": "https://realpython.com/#organization",
    "name": "Real Python",
    "url": "https://realpython.com",
    "logo": {
      "@type": "ImageObject",
      "url": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png",
      "width": 512,
      "height": 512
    },
    "description": "Real Python is a leading provider of online Python education and one of the largest language-specific online communities for software developers. It publishes high-quality learning resources, such as tutorials, books, and courses to an audience of millions of developers, data scientists, and machine learning engineers each month.",
    "slogan": "Become a Python Expert",
    "email": "info@realpython.com",
    "sameAs": [
      "https://github.com/realpython",
      "https://www.youtube.com/realpython",
      "https://twitter.com/realpython",
      "https://x.com/realpython",
      "https://www.linkedin.com/company/realpython-com/",
      "https://www.facebook.com/learnrealpython",
      "https://www.instagram.com/realpython",
      "https://www.tiktok.com/@realpython.com"
    ]
  },
  "author": {
    "@type": "Person",
    "name": "Leodanis Pozo Ramos",
    "image": "https://realpython.com/cdn-cgi/image/width=862,height=862,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/Perfil_final1.9f896bc212f6.jpg",
    "url": "https://realpython.com/team/lpozoramos/",
    "affiliation": {
      "@type": "Organization",
      "@id": "https://realpython.com/#organization",
      "name": "Real Python",
      "url": "https://realpython.com",
      "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
    }
  },
  "description": "In this tutorial, you'll learn the key characteristics of lists and tuples in Python, as well as how to define and manipulate them. When you're finished, you'll have a good feel for when to use a tuple vs a list in a Python program.",
  "hasPart": {
    "@type": "FAQPage",
    "mainEntity": [
      {
        "@type": "Question",
        "name": "What is the difference between lists and tuples in Python?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "

The key difference between lists and tuples is that lists are mutable, allowing you to modify them after creation, while tuples are immutable so you can’t change them once defined.

" } }, { "@type": "Question", "name": "When would you prefer tuples over lists?", "acceptedAnswer": { "@type": "Answer", "text": "

You should prefer tuples when you have a fixed collection of items that shouldn’t change, such as coordinates or RGB color values, and when you want to ensure data integrity by preventing modifications.

" } }, { "@type": "Question", "name": "How do you create a list from a tuple in Python?", "acceptedAnswer": { "@type": "Answer", "text": "

You can create a list from a tuple by using the list() constructor and passing it the tuple as an argument, like list(my_tuple).

" } }, { "@type": "Question", "name": "What\u2019s the point of a tuple?", "acceptedAnswer": { "@type": "Answer", "text": "

Tuples provide a way to group related yet different types of data together while maintaining data integrity by being immutable. They also often use less memory compared to lists.

" } }, { "@type": "Question", "name": "Are tuples immutable?", "acceptedAnswer": { "@type": "Answer", "text": "

Yes, tuples are immutable, meaning once you create a tuple, you can’t change, add, or remove its elements.

" } } ] } }

authorReal Python
twitter:cardsummary_large_image
twitter:imagehttps://files.realpython.com/media/Lists-and-Tuples-in-Python_Watermarked.a52798070b3e.jpg
og:imagehttps://files.realpython.com/media/Lists-and-Tuples-in-Python_Watermarked.a52798070b3e.jpg
twitter:creator@realpython
og:typearticle

Links:

https://realpython.com/
Start Herehttps://realpython.com/start-here/
Learn Python https://realpython.com/python-lists-tuples
Python Tutorials →In-depth articles and video courseshttps://realpython.com/search?kind=article&kind=course&order=newest
Learning Paths →Guided study plans for accelerated learninghttps://realpython.com/learning-paths/
Quizzes & Exercises →Check your learning progresshttps://realpython.com/quizzes/
Browse Topics →Focus on a specific area or skill levelhttps://realpython.com/tutorials/all/
Community Chat →Learn with other Pythonistashttps://realpython.com/community/
Office Hours →Live Q&A calls with Python expertshttps://realpython.com/office-hours/
Podcast →Hear what’s new in the world of Pythonhttps://realpython.com/podcasts/rpp/
Books →Round out your knowledge and learn offlinehttps://realpython.com/products/books/
Reference →Concise definitions for common Python termshttps://realpython.com/ref/
Code Mentor →BetaPersonalized code assistance & learning toolshttps://realpython.com/mentor/
Unlock All Content →https://realpython.com/account/join/
More https://realpython.com/python-lists-tuples
Learner Storieshttps://realpython.com/learner-stories/
Python Newsletterhttps://realpython.com/newsletter/
Python Job Boardhttps://www.pythonjobshq.com
Meet the Teamhttps://realpython.com/team/
Become a Tutorial Writerhttps://realpython.com/write-for-us/
Become a Video Instructorhttps://realpython.com/become-an-instructor/
Searchhttps://realpython.com/search
https://realpython.com/search
Joinhttps://realpython.com/account/join/
Sign‑Inhttps://realpython.com/account/login/?next=%2Fpython-lists-tuples%2F
Browse Topicshttps://realpython.com/tutorials/all/
Guided Learning Pathshttps://realpython.com/learning-paths/
Basicshttps://realpython.com/search?level=basics
Intermediatehttps://realpython.com/search?level=intermediate
Advancedhttps://realpython.com/search?level=advanced
aihttps://realpython.com/tutorials/ai/
algorithmshttps://realpython.com/tutorials/algorithms/
apihttps://realpython.com/tutorials/api/
best-practiceshttps://realpython.com/tutorials/best-practices/
careerhttps://realpython.com/tutorials/career/
communityhttps://realpython.com/tutorials/community/
databaseshttps://realpython.com/tutorials/databases/
data-sciencehttps://realpython.com/tutorials/data-science/
data-structureshttps://realpython.com/tutorials/data-structures/
data-vizhttps://realpython.com/tutorials/data-viz/
devopshttps://realpython.com/tutorials/devops/
djangohttps://realpython.com/tutorials/django/
dockerhttps://realpython.com/tutorials/docker/
editorshttps://realpython.com/tutorials/editors/
flaskhttps://realpython.com/tutorials/flask/
front-endhttps://realpython.com/tutorials/front-end/
gamedevhttps://realpython.com/tutorials/gamedev/
guihttps://realpython.com/tutorials/gui/
machine-learninghttps://realpython.com/tutorials/machine-learning/
newshttps://realpython.com/tutorials/news/
numpyhttps://realpython.com/tutorials/numpy/
projectshttps://realpython.com/tutorials/projects/
pythonhttps://realpython.com/tutorials/python/
stdlibhttps://realpython.com/tutorials/stdlib/
testinghttps://realpython.com/tutorials/testing/
toolshttps://realpython.com/tutorials/tools/
web-devhttps://realpython.com/tutorials/web-dev/
web-scrapinghttps://realpython.com/tutorials/web-scraping/
Table of Contentshttps://realpython.com/python-lists-tuples#toc
Getting Started With Python Lists and Tupleshttps://realpython.com/python-lists-tuples#getting-started-with-python-lists-and-tuples
Creating Lists in Pythonhttps://realpython.com/python-lists-tuples#creating-lists-in-python
Creating Tuples in Pythonhttps://realpython.com/python-lists-tuples#creating-tuples-in-python
Exploring Core Features of Lists and Tupleshttps://realpython.com/python-lists-tuples#exploring-core-features-of-lists-and-tuples
Lists and Tuples Are Ordered Sequenceshttps://realpython.com/python-lists-tuples#lists-and-tuples-are-ordered-sequences
Lists and Tuples Can Contain Arbitrary Objectshttps://realpython.com/python-lists-tuples#lists-and-tuples-can-contain-arbitrary-objects
Lists and Tuples Can Be Indexed and Slicedhttps://realpython.com/python-lists-tuples#lists-and-tuples-can-be-indexed-and-sliced
Lists and Tuples Can Be Nestedhttps://realpython.com/python-lists-tuples#lists-and-tuples-can-be-nested
Lists Are Mutable, Tuples Are Immutablehttps://realpython.com/python-lists-tuples#lists-are-mutable-tuples-are-immutable
Lists Have Mutator Methods, Tuples Don’thttps://realpython.com/python-lists-tuples#lists-have-mutator-methods-tuples-dont
Using Operators and Built-in Functions With Lists and Tupleshttps://realpython.com/python-lists-tuples#using-operators-and-built-in-functions-with-lists-and-tuples
Packing and Unpacking Lists and Tupleshttps://realpython.com/python-lists-tuples#packing-and-unpacking-lists-and-tuples
Using Lists vs Tuples in Pythonhttps://realpython.com/python-lists-tuples#using-lists-vs-tuples-in-python
Conclusionhttps://realpython.com/python-lists-tuples#conclusion
Frequently Asked Questionshttps://realpython.com/python-lists-tuples#frequently-asked-questions
https://realpython.com/feedback/survey/article/python-lists-tuples/liked/?from=article-sidebar
https://realpython.com/feedback/survey/article/python-lists-tuples/disliked/?from=article-sidebar
Lists and Tuples in Python 1h 8m · 12 lessons https://realpython.com/courses/lists-tuples-python/
Leodanis Pozo Ramoshttps://realpython.com/python-lists-tuples#author
https://realpython.com/python-lists-tuples#reader-comments
basicshttps://realpython.com/tutorials/basics/
pythonhttps://realpython.com/tutorials/python/
Getting Started With Python Lists and Tupleshttps://realpython.com/python-lists-tuples#getting-started-with-python-lists-and-tuples
Creating Lists in Pythonhttps://realpython.com/python-lists-tuples#creating-lists-in-python
Creating Tuples in Pythonhttps://realpython.com/python-lists-tuples#creating-tuples-in-python
Exploring Core Features of Lists and Tupleshttps://realpython.com/python-lists-tuples#exploring-core-features-of-lists-and-tuples
Lists and Tuples Are Ordered Sequenceshttps://realpython.com/python-lists-tuples#lists-and-tuples-are-ordered-sequences
Lists and Tuples Can Contain Arbitrary Objectshttps://realpython.com/python-lists-tuples#lists-and-tuples-can-contain-arbitrary-objects
Lists and Tuples Can Be Indexed and Slicedhttps://realpython.com/python-lists-tuples#lists-and-tuples-can-be-indexed-and-sliced
Lists and Tuples Can Be Nestedhttps://realpython.com/python-lists-tuples#lists-and-tuples-can-be-nested
Lists Are Mutable, Tuples Are Immutablehttps://realpython.com/python-lists-tuples#lists-are-mutable-tuples-are-immutable
Lists Have Mutator Methods, Tuples Don’thttps://realpython.com/python-lists-tuples#lists-have-mutator-methods-tuples-dont
Using Operators and Built-in Functions With Lists and Tupleshttps://realpython.com/python-lists-tuples#using-operators-and-built-in-functions-with-lists-and-tuples
Packing and Unpacking Lists and Tupleshttps://realpython.com/python-lists-tuples#packing-and-unpacking-lists-and-tuples
Using Lists vs Tuples in Pythonhttps://realpython.com/python-lists-tuples#using-lists-vs-tuples-in-python
Conclusionhttps://realpython.com/python-lists-tuples#conclusion
Frequently Asked Questionshttps://realpython.com/python-lists-tuples#frequently-asked-questions
Remove adshttps://realpython.com/account/join/
Lists and Tuples in Pythonhttps://realpython.com/courses/lists-tuples-python/
Click here to download the free sample codehttps://realpython.com/bonus/python-lists-tuples-code/
https://realpython.com/quizzes/python-lists-tuples/
Lists vs Tuples in Pythonhttps://realpython.com/quizzes/python-lists-tuples/
https://realpython.com/python-lists-tuples#getting-started-with-python-lists-and-tuples
arrayhttps://en.wikipedia.org/wiki/Array_(data_structure)
stringhttps://realpython.com/python-strings/
sequencehttps://realpython.com/python-sequences/
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-lists-tuples#creating-lists-in-python
literalhttps://docs.python.org/3/reference/lexical_analysis.html#literals
Python’s list Data Type: A Deep Dive With Exampleshttps://realpython.com/python-list/
constructorhttps://realpython.com/python-class-constructor/
rangehttps://realpython.com/python-range/
list comprehensionshttps://realpython.com/list-comprehension-python/
https://realpython.com/python-lists-tuples#creating-tuples-in-python
Python’s tuple Data Type: A Deep Dive With Exampleshttps://realpython.com/python-tuple/
iteratorshttps://realpython.com/python-iterators-iterables/
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-lists-tuples#exploring-core-features-of-lists-and-tuples
https://realpython.com/python-lists-tuples#lists-and-tuples-are-ordered-sequences
https://realpython.com/python-lists-tuples#lists-and-tuples-can-contain-arbitrary-objects
built-in functionhttps://realpython.com/python-built-in-functions/
functionhttps://realpython.com/defining-your-own-python-function/
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-lists-tuples#lists-and-tuples-can-be-indexed-and-sliced
https://files.realpython.com/media/t.eb0b38e642c5.png
https://files.realpython.com/media/t.c11ea56e8ca2.png
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-lists-tuples#lists-and-tuples-can-be-nested
https://files.realpython.com/media/t.08554d94a1e5.png
https://realpython.com/python-lists-tuples#lists-are-mutable-tuples-are-immutable
mutablehttps://realpython.com/python-mutable-vs-immutable-types/#lists
immutablehttps://realpython.com/python-mutable-vs-immutable-types/#tuples
Python’s Mutable vs Immutable Types: What’s the Difference?https://realpython.com/python-mutable-vs-immutable-types/
assignmenthttps://realpython.com/python-assignment-operator/
TypeErrorhttps://realpython.com/python-built-in-exceptions/#typeerror
delhttps://realpython.com/python-del-statement/
Python’s del: Remove References From Scopes and Containershttps://realpython.com/python-del-statement/
slice assignmenthttps://realpython.com/python-assignment-operator/#updating-lists-through-indices-and-slices
iterablehttps://realpython.com/python-iterators-iterables/#getting-to-know-python-iterables
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-lists-tuples#lists-have-mutator-methods-tuples-dont
mutator methodshttps://en.wikipedia.org/wiki/Mutator_method
https://realpython.com/python-lists-tuples#appendobj
.append(obj)https://realpython.com/python-append/
in placehttps://en.wikipedia.org/wiki/In-place_algorithm
Nonehttps://realpython.com/null-in-python/
deliberatehttps://mail.python.org/pipermail/python-dev/2003-October/038855.html
https://realpython.com/python-lists-tuples#extenditerable
https://realpython.com/python-lists-tuples#insertindex-obj
https://realpython.com/python-lists-tuples#removeobj
https://realpython.com/python-lists-tuples#popindex-1
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-lists-tuples#using-operators-and-built-in-functions-with-lists-and-tuples
operatorshttps://realpython.com/python-operators-expressions/
built-in functionshttps://realpython.com/python-built-in-functions/
in and not inhttps://realpython.com/python-in-operator/
concatenationhttps://realpython.com/python-string-concatenation/
len()https://realpython.com/len-python-function/
min(), max()https://realpython.com/python-min-and-max/
sum()https://realpython.com/python-sum-function/
https://realpython.com/python-lists-tuples#packing-and-unpacking-lists-and-tuples
https://files.realpython.com/media/t.feb20d10b75d.png
unpackedhttps://realpython.com/python-assignment-operator/#unpacking-iterables
https://files.realpython.com/media/t.629d7402a412.png
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-lists-tuples#using-lists-vs-tuples-in-python
RGBhttps://en.wikipedia.org/wiki/RGB_color_model
https://realpython.com/python-lists-tuples#conclusion
Click here to download the free sample codehttps://realpython.com/bonus/python-lists-tuples-code/
https://realpython.com/quizzes/python-lists-tuples/
Lists vs Tuples in Pythonhttps://realpython.com/quizzes/python-lists-tuples/
https://realpython.com/python-lists-tuples#frequently-asked-questions
https://realpython.com/feedback/survey/article/python-lists-tuples/liked/?from=article-footer
https://realpython.com/feedback/survey/article/python-lists-tuples/disliked/?from=article-footer
Lists and Tuples in Pythonhttps://realpython.com/courses/lists-tuples-python/
https://realpython.com/team/lpozoramos/
» More about Leodanishttps://realpython.com/team/lpozoramos/
https://realpython.com/team/asantos/
Aldrenhttps://realpython.com/team/asantos/
https://realpython.com/team/bweleschuk/
Brendahttps://realpython.com/team/bweleschuk/
https://realpython.com/team/dbader/
Danhttps://realpython.com/team/dbader/
https://realpython.com/team/gahjelle/
Geir Arnehttps://realpython.com/team/gahjelle/
https://realpython.com/team/jjablonski/
Joannahttps://realpython.com/team/jjablonski/
https://realpython.com/team/jsturtz/
Johnhttps://realpython.com/team/jsturtz/
https://realpython.com/team/mbreuss/
Martinhttps://realpython.com/team/mbreuss/
Level Up Your Python Skills »https://realpython.com/account/join/?utm_source=rp_article_footer&utm_content=python-lists-tuples
Level Up Your Python Skills »https://realpython.com/account/join/?utm_source=rp_article_footer&utm_content=python-lists-tuples
https://realpython.com/feedback/survey/article/python-lists-tuples/liked/?from=article-comments
https://realpython.com/feedback/survey/article/python-lists-tuples/disliked/?from=article-comments
LinkedInhttps://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Frealpython.com%2Fpython-lists-tuples%2F
Twitterhttps://twitter.com/intent/tweet/?text=Interesting%20Python%20article%20on%20%40realpython%3A%20Lists%20vs%20Tuples%20in%20Python&url=https%3A%2F%2Frealpython.com%2Fpython-lists-tuples%2F
Blueskyhttps://bsky.app/intent/compose?text=Interesting%20Python%20article%20on%20%40realpython.com%3A%20Lists%20vs%20Tuples%20in%20Python%20https%3A%2F%2Frealpython.com%2Fpython-lists-tuples%2F
Facebookhttps://facebook.com/sharer/sharer.php?u=https%3A%2F%2Frealpython.com%2Fpython-lists-tuples%2F
Get tips for asking good questionshttps://realpython.com/python-beginner-tips/#tip-9-ask-good-questions
get answers to common questions in our support portalhttps://support.realpython.com
Real Python Community Chathttps://realpython.com/community/
“Office Hours” Live Q&A Sessionhttps://realpython.com/office-hours/
basicshttps://realpython.com/tutorials/basics/
pythonhttps://realpython.com/tutorials/python/
Lists and Tuples in Pythonhttps://realpython.com/courses/lists-tuples-python/?utm_source=realpython&utm_medium=web&utm_campaign=related-course&utm_content=python-lists-tuples
Dictionaries in Pythonhttps://realpython.com/python-dicts/?utm_source=realpython&utm_medium=web&utm_campaign=related-post&utm_content=python-lists-tuples
Python's list Data Type: A Deep Dive With Exampleshttps://realpython.com/python-list/?utm_source=realpython&utm_medium=web&utm_campaign=related-post&utm_content=python-lists-tuples
Sets in Pythonhttps://realpython.com/python-sets/?utm_source=realpython&utm_medium=web&utm_campaign=related-post&utm_content=python-lists-tuples
When to Use a List Comprehension in Pythonhttps://realpython.com/list-comprehension-python/?utm_source=realpython&utm_medium=web&utm_campaign=related-post&utm_content=python-lists-tuples
Defining Your Own Python Functionhttps://realpython.com/defining-your-own-python-function/?utm_source=realpython&utm_medium=web&utm_campaign=related-post&utm_content=python-lists-tuples
https://realpython.com/account/signup/?intent=continue_reading&utm_source=rp&utm_medium=web&utm_campaign=rwn&utm_content=v1&next=%2Fpython-lists-tuples%2F
Continue »https://realpython.com/account/signup/?intent=continue_reading&utm_source=rp&utm_medium=web&utm_campaign=rwn&utm_content=v1&next=%2Fpython-lists-tuples%2F
Sign-Inhttps://realpython.com/account/login/?next=/python-lists-tuples/
Start Herehttps://realpython.com/start-here/
Learning Resourceshttps://realpython.com/search
Code Mentorhttps://realpython.com/mentor/
Python Referencehttps://realpython.com/ref/
Python Cheat Sheethttps://realpython.com/cheatsheets/python/
Support Centerhttps://support.realpython.com/
Learning Pathshttps://realpython.com/learning-paths/
Quizzes & Exerciseshttps://realpython.com/quizzes/
Browse Topicshttps://realpython.com/tutorials/all/
Live Courseshttps://realpython.com/live/
Bookshttps://realpython.com/books/
Podcasthttps://realpython.com/podcasts/rpp/
Newsletterhttps://realpython.com/newsletter/
Community Chathttps://realpython.com/community/
Office Hourshttps://realpython.com/office-hours/
Learner Storieshttps://realpython.com/learner-stories/
Plans & Pricinghttps://realpython.com/account/join/
Team Planshttps://realpython.com/account/join-team/
For Businesshttps://realpython.com/account/join-team/inquiry/
For Schoolshttps://realpython.com/account/join-team/education-inquiry/
Reviewshttps://realpython.com/learner-stories/
About Ushttps://realpython.com/about/
Teamhttps://realpython.com/team/
Mission & Valueshttps://realpython.com/mission/
Editorial Guidelineshttps://realpython.com/editorial-guidelines/
Sponsorshipshttps://realpython.com/sponsorships/
Careershttps://realpython.workable.com
Press Kithttps://realpython.com/media-kit/
Merchhttps://realpython.com/merch
https://www.youtube.com/realpython
https://x.com/realpython
https://www.linkedin.com/company/realpython-com
https://www.facebook.com/LearnRealPython
https://github.com/realpython/
Privacy Policyhttps://realpython.com/privacy-policy/
Terms of Usehttps://realpython.com/terms/
Securityhttps://realpython.com/security/
Contacthttps://realpython.com/contact/
https://realpython.com/

Viewport: width=device-width, initial-scale=1, shrink-to-fit=no, viewport-fit=cover

Robots: max-image-preview:large


URLs of crawlers that visited me.