Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for first_pos in [0,1,9,4,5,6]: #с нуля до 3 значения будут
- for second_pos in [4,5,6,7,8,9]:
- for third_pos in [2,3,4,6,7,8]:
- for fourth_pos in [3,4,5,6,7,8]:
- pw = f'{first_pos}{second_pos}{third_pos}{fourth_pos}'
- print(pw)
- inp = input()
- if inp == 'yes':
- break
- elif inp == 'no':
- continue
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement