
July 1, 2022
11:19 a.m.
Hi Apologies if I am being naïve but in https://docs.python.org/3/tutorial/introduction.html#lists Is the 5 in
# now remove them
letters[2:5] = []
letters
['a', 'b', 'f', 'g'] deliberate as it only replaces 3 not 4 letters. Regards Simon
965
Age (days ago)
968
Last active (days ago)
1 comments
2 participants
participants (2)
-
sgbrock@gmail.com
-
Simon de Vlieger