Advertisement
Spocoman

08. Secret Door's Lock

Jan 2nd, 2022
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.27 KB | None | 0 0
  1. a = int(input())
  2. b = int(input())
  3. c = int(input())
  4.  
  5. for i in range(2, a + 1):
  6.     for j in range(2, b + 1):
  7.         for x in range(2, c + 1):
  8.             if i % 2 == 0 and x % 2 == 0 and (j == 2 or j == 3 or j == 5 or j == 7):
  9.                 print(f'{i} {j} {x}')
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement