How to loop a list in python.
What I have tried is,
l=[1,2,4,5]for i in l print i
I know how to in C.
for(i=0;i<=10;i++){do something..}
How can I achieve this in python ?
Aucun commentaire:
Enregistrer un commentaire