Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- first = int(input())
- second = int(input())
- max_pw = int(input())
- A = 35
- B = 64
- x = 1
- y = 1
- for count in range(1, max_pw+1):
- print(f"{chr(A)}{chr(B)}{x}{y}{chr(B)}{chr(A)}", end="|")
- y += 1
- A += 1
- if A > 55:
- A = 35
- B += 1
- if B > 96:
- B = 64
- if y == (second + 1):
- x += 1
- y = 1
- if x == (first + 1):
- break
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement