+ 1
Remove Command
Why the remove command doesn't do anything? https://code.sololearn.com/c8vTvaE1QPEQ/?ref=app
3 Respostas
+ 5
a[1 : ] means create a copy of list <a>, which contains the items from list <a> starting from the item at index 1 to the last. The 'remove' method works on the copy only, it does nothing to the original list <a>.
+ 3
I got it. Thanks Ipang
0
Good job! 👍