coding180 icon

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,


Robort Gabriel

Lagos, Nigeria

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

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