0

Hello can someone explain how does it process

a = [0,1,2,3] for a[1] in a: print(a[1]) output : 0 0 2 3

15th Jun 2020, 12:55 PM
Raymart
4 odpowiedzi
+ 2
Like this: a = [0,1,2,3] for b in a: a[1]=b print(a[1]) output : 0 0 2 3
15th Jun 2020, 12:58 PM
Alexander Thiem
Alexander Thiem - avatar
+ 1
You are welcome
15th Jun 2020, 1:19 PM
Alexander Thiem
Alexander Thiem - avatar
0
oohhh I see now I understand it, thank youuuuu^
15th Jun 2020, 1:05 PM
Raymart