Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a1 = int(input())
- a2 = int(input())
- n = int(input())
- ticket = ""
- for i in range(a1, a2):
- for j in range(1, n):
- for z in range(1, int(n / 2)):
- if i % 2 != 0 and (j + z + i) % 2 != 0:
- print(f"{chr(i)}-{j}{z}{i}")
Add Comment
Please, Sign In to add comment