From: Abdur-Rahmaan Janhangeer <[email protected]> i think he means like for a loop to iterate over a list you might do
list = [1,2,3]
for i in range(len(list)):
print(list[i])
but the you might as well go for the simpler :
for elem in list:
print(elem)
Abdur-Rahmaan Janhangeer
https://github.com/Abdur-rahmaanJ
>
--- BBBS/Li6 v4.10 Toy-3
* Origin: Prism bbs (1:261/38)
--
https://mail.python.org/mailman/listinfo/python-list
