Advertisement
JOHNYTHEWINNER

Password generator

Mar 13th, 2020
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.39 KB | None | 0 0
  1. number=int(input())
  2. letter=int(input())
  3. for first in range (1,number+1):
  4.     for second in range (1,number+1):
  5.         for third in range (97,97+letter):
  6.             for forth in range (97,97+letter):
  7.                 for fifth in range (1,number+1):
  8.                     if fifth>first and fifth>second:
  9.                         print(f"{first}{second}{chr(third)}{chr(forth)}{fifth}",end=" ")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement