Guest User

Untitled

a guest
Jan 20th, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. import random
  2.  
  3. def wyszukiwanie_sek(x):
  4. losowa_lista = range(1,101)
  5. losow_list = random.choices(losowa_lista, k = 200)
  6. for i in losow_list:
  7. if losow_list[0] != x:
  8. losow_list[+=1]
  9. if losow_list==x:
  10. i += 1
  11. return i
Add Comment
Please, Sign In to add comment