coding180 icon
Coding180

What is the primary distinction between lists and tuples?

Home > Interviews > Python


robort - 2022-08-30 06:25:14

The primary difference between lists and tuples is that lists are mutable, whereas tuples are not.
For example. Tuples Allows to be hashed for use as dictionary keys,


user

Robort Gabriel

Lagos, Nigeria

Freelance Web Developer, Native Android Developer, and Coding Tutor.

Skills
  • UI / UX
  • JavaScript
  • Python
  • PHP
  • Kotlin
  • Java
  • Bootrap
  • Android
  • Laravel