Oct-09-2021, 09:47 AM
We know that Lists are mutable i.e they can be edited. Also Tuples are immutable i.e. tuples can’t be edited.
How would you differentiate between two??
How would you differentiate between two??
About List & Tuples
|
Oct-09-2021, 09:47 AM
We know that Lists are mutable i.e they can be edited. Also Tuples are immutable i.e. tuples can’t be edited.
How would you differentiate between two??
Oct-09-2021, 09:57 AM
What is your question, really? You've just identified how the two are different, so I'm not sure what you're asking.
Oct-09-2021, 10:06 AM
Do you have any references for creating Python program to create a tuple
Oct-09-2021, 10:43 AM
The Python tutorial, or any good book, etc. should show you how to create tuples. I mean, have you not been able to find any material?!
Oct-09-2021, 11:01 AM
Usually documentation is good starting point : Tuples and Sequences
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame. |
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
What is the difference between list and tuples in Python? | priya1717 | 1 | 23,927 |
Dec-20-2022, 11:08 AM Last Post: ibreeden |