enumerate 1
This commit is contained in:
parent
50db63ef4f
commit
cba3273020
4
python-temel/enumerate.py
Normal file
4
python-temel/enumerate.py
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
a = [12, 34, 2, 78, 4, 30, -9, 44, 88, 41]
|
||||||
|
|
||||||
|
for index, val in enumerate(a):
|
||||||
|
print(index, val)
|
Loading…
Reference in New Issue
Block a user