Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis5 Respostas
+ 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šš