Can Lists & Tuples do really prove to be beneficial to store, multiple values & perform various operations..... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Can Lists & Tuples do really prove to be beneficial to store, multiple values & perform various operations.....

? Which (tuples) have similar Python functionality to list? Hence why Tuples are required.

4th May 2021, 9:06 PM
ASIM FARHEEN ❄️⚡⚡🤳⚡⚡❄️
ASIM FARHEEN ❄️⚡⚡🤳⚡⚡❄️ - avatar
2 Answers
+ 4
Tuples has fixed length while list don't. Tuples are immutable while list is mutable Tuple is faster than list (read this for more) https://stackoverflow.com/questions/1708510/list-vs-tuple-when-to-use-each
4th May 2021, 9:46 PM
Rohit
+ 1
The tuples is inmutable
28th Jul 2021, 3:45 PM
CGO!
CGO! - avatar