Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import random
- def wyszukiwanie_sek(x):
- losowa_lista = range(1,101)
- losow_list = random.choices(losowa_lista, k = 200)
- for i in losow_list:
- if losow_list[0] != x:
- losow_list[+=1]
- if losow_list==x:
- i += 1
- return i
Add Comment
Please, Sign In to add comment