+ 6

Tell me any five differences between list and tuples ...?

13th Nov 2017, 6:54 PM
Kala Nandini
Kala Nandini - avatar
6 ответов
+ 18
tuples: 1. immutable 2. may act as dictionary keys 3. tuple of lists -- still immutable itself 4. use round brackets -- (x, y, z) lists: 1. mutable 2. may not act as dictionary keys 3. list of tuples -- still mutable itself 4. use square brackets -- [x, y, z] common: 0. subscriptable 1. iterable 2. generable 3. sliceable 4. unpackable 5. not callable 6. may contain items of different classes 7. multidimensional
13th Nov 2017, 7:10 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 4
no
19th Nov 2017, 3:59 AM
Kala Nandini
Kala Nandini - avatar
0
Cool!
23rd Dec 2017, 4:45 PM
Taras Mazurak
Taras Mazurak - avatar
- 1
nandini can I challenge u in html
19th Nov 2017, 3:58 AM
💟💖💓Kavi💓💓💕💖
💟💖💓Kavi💓💓💕💖 - avatar
- 1
dar lag gya
19th Nov 2017, 4:00 AM
💟💖💓Kavi💓💓💕💖
💟💖💓Kavi💓💓💕💖 - avatar
- 1
😁😁😁😁😀
19th Nov 2017, 4:00 AM
💟💖💓Kavi💓💓💕💖
💟💖💓Kavi💓💓💕💖 - avatar