Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- num_1 = int(input())
- num_2 = int(input())
- num_3 = int(input())
- for x1 in range(1, num_1+1):
- for x2 in range(1, num_2+1):
- for x3 in range(1, num_3+1):
- if x1 % 2 == 0 and x3 % 2 == 0:
- if x2 == 2 or x2 == 3 or x2 == 5:
- print(f"{x1} {x2} {x3}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement