Advertisement
BbJLeB

08. Secret Door's Lock

Jun 6th, 2019
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.27 KB | None | 0 0
  1. # 08. Secret Door's Lock
  2.  
  3. a = int(input())
  4. b = int(input())
  5. c = int(input())
  6. for i in range(1, a+1):
  7.     if i % 2 == 0:
  8.         for j in range(2, b+1):
  9.             if j == 2 or j == 3 or j == 5 or j == 7:
  10.                 for k in range(1, c+1):
  11.                     if k % 2 == 0:
  12.                         print(f'{i} {j} {k}')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement