desislava_topuzakova

06. Uniwue PIN Codes

Mar 29th, 2021
849
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.31 KB | None | 0 0
  1. n1 = int(input())
  2. n2 = int(input())
  3. n3 = int(input())
  4.  
  5. for a in range(1, n1+1):
  6.     if a % 2 ==0:
  7.         for b in range (1, n2+1):
  8.             if b == 2 or b == 3 or b == 5 or b ==7:
  9.                 for c in range (1, n3+1):
  10.                     if c % 2 ==0:
  11.                         print(f"{a} {b} {c}")
Advertisement
Add Comment
Please, Sign In to add comment