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