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

Publicado el: 24 abril 2023
en el 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.  


En esta página del sitio puede ver el video en línea Difference Between List & Tuple In Python Programming | Python Interview Questions | Python Learning de Duración hora minuto segunda en buena calidad , que subió el usuario Anybody Can Code 24 abril 2023, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 149 veces y le gustó 1 a los espectadores. Disfruta viendo!