0

List challenges

Hey, are there some challenges, which I can do to remember python lessons about lists? I mean sth that I can do on my coding level just to remember better, without using some more complex operations.

21st Jun 2020, 7:41 PM
Aleksandra Lewandowska
Aleksandra Lewandowska - avatar
3 Respuestas
+ 1
I have one - a=[1,2,4,6,"z","f"] Transform the above list into- a=[0,1,4,5,"f","z"] #Hint- You can use functions like - append,remove,insert, replace. #So enjoy the coding #Best of luck
21st Jun 2020, 8:29 PM
Akash Babasaheb Chavan
Akash Babasaheb Chavan - avatar
+ 1
Best way to remember something is to use it in your own programs. You should read the lesson, try to think of possible use cases and write a little or not so little something. If it's just about remembering, repetition is key.
21st Jun 2020, 8:31 PM
HonFu
HonFu - avatar