Advertisement
Guest User

Untitled

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