+ 1
How choose first element in list?
Through the def function
4 Réponses
+ 3
list[0]
+ 3
Try it yourself first. If something went wrong then post your attempt here..
implement function as taking list as argument and return list first element which is at index 0. Just 2 lines of code.. Hope it helps..
+ 1
Thank you, but wat about def function?
+ 1
Thank you