Difference Between List and Tuple in Python

Publié le: 17 septembre 2022
sur la chaîne: Python Developer - 0.1
45
0

List
Lists are used to store multiple items in a single variable.

List items are indexed, ordered, changeable, and allow duplicate values.

Allow Duplicates
Lists are indexed, lists can have items with the same value.

Tuple
Tuples are used to store multiple items in a single variable.
A tuple is a collection which is ordered and unchangeable.

interview questions

Remove Special Characters from String
   • Remove Special Characters from String...  

Iterator
   • Iterator in Python programing languag...  

Max,min number
   • How to find Minimum and Maximum value...  

Prime Number
   • Prime Number Program in Python | inte...  

Palindrome
   • Palindrome Program in Python  

Even and odd number
   • Even and Odd number Program in Python  


Thank You! 💖


Sur cette page du site, vous pouvez voir la vidéo en ligne Difference Between List and Tuple in Python durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Python Developer - 0.1 17 septembre 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 45 fois et il a aimé 0 téléspectateurs. Bon visionnage!