Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
105 B
2
Indexable
Never
a = 8
v = [6, 2, 8, 1]
i = 0
while i < len(v) - 1:
  if v[i] == a:  
    print(v[i], i)
  i = i + 1