5 ответов
+ 3
Aryan King,
There is still a need for clarification here, so we are all guessing. what do you mean by " ... including numbers..."
it would be great if you could give us an input and an output sample.
thanks!
+ 1
for value in my_list:
# do something with each value
+ 1
Please avoid copying the question into the tags ☝
https://code.sololearn.com/W3uiji9X28C1/?ref=app
+ 1
1.By using Python range() method.
2.List Comprehension.
3.Python enumerate() method.
4.for Loop.
5.while Loop.
6.Python NumPy module.
7.lambda function.
Visit https://www.askpython.com/python/list/iterate-through-list-in-python
Hope this helps.
0
Plz tell😭😭