Guest User

Untitled

a guest
Dec 13th, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. a = [int(i) for i in input().split()]
  2. n = int(input())
  3. b = []
  4. while n in a:
  5. b.append(a.index(n))
  6. a[a.index(n)] = 'a'
  7. if b == []:
  8. print("None")
  9. else:
  10. for i in b:
  11. print(i, end=" ")
Add Comment
Please, Sign In to add comment