Difference Between List & Tuple In Python Programming | Python Interview Questions | Python Learning

Publicado em: 24 Abril 2023
no canal de: Anybody Can Code
149
1

In Python, lists and tuples are both used to store a collection of items. However, there are some key differences between them.

1. Syntax: - Lists are enclosed in square brackets [ ],
tuples are enclosed in parentheses ( )

2. tuples are immutable, they are faster to access and process compared to lists. Tuples are also more memory-efficient.

Anybody Can Code




   • Basis Information About Data Science.  


Nesta página do site você pode assistir ao vídeo on-line Difference Between List & Tuple In Python Programming | Python Interview Questions | Python Learning duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Anybody Can Code 24 Abril 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 149 vezes e gostou 1 espectadores. Boa visualização!