+ 2

What is the difference between a tuple and a list?

20th Jan 2021, 4:35 AM
David
David - avatar
2 Respostas
+ 8
Tuple --> Immutable or unchangeable Lists --> Mutable or Changeable - by: Roman J. And just an additional to what he stated: Tuple ( ) Examples: "string", 2, 4.2, False ("string", 2, 1.5, True) Lists [ ] Example: ["string", 1.4, 42, True] Just continue your Python Course and you will learn it in your next modules.
20th Jan 2021, 4:55 AM
noteve
noteve - avatar
+ 1
Tnx 🙂
20th Jan 2021, 5:12 AM
David
David - avatar