Advertisement
eNeRGy90

Untitled

Nov 29th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.30 KB | None | 0 0
  1. num_1 = int(input())
  2. num_2 = int(input())
  3. num_3 = int(input())
  4.  
  5. for x1 in range(1, num_1+1):
  6.     for x2 in range(1, num_2+1):
  7.         for x3 in range(1, num_3+1):
  8.             if x1 % 2 == 0 and x3 % 2 == 0:
  9.                 if x2 == 2 or x2 == 3 or x2 == 5:
  10.                     print(f"{x1} {x2} {x3}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement