Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- number=int(input())
- letter=int(input())
- for first in range (1,number+1):
- for second in range (1,number+1):
- for third in range (97,97+letter):
- for forth in range (97,97+letter):
- for fifth in range (1,number+1):
- if fifth>first and fifth>second:
- print(f"{first}{second}{chr(third)}{chr(forth)}{fifth}",end=" ")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement