For i in x: no permite manejar los indices. Con en otros lenguajes por que? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

For i in x: no permite manejar los indices. Con en otros lenguajes por que?

10th Aug 2022, 5:13 PM
Juan Ulise Perez Heredia
Juan Ulise Perez Heredia - avatar
1 Resposta
0
Mhm dont understand but want to help. Well what is x ? Array, int, dictionary? Ill do a little sample: myList = [ā€žoneā€œ, ā€žtwoā€œ] For i in myList: Print(i) Out: One Two May that help you otherwise i need a bit more input what do you try do to.
10th Aug 2022, 8:53 PM
S3R43o3
S3R43o3 - avatar