ohmydingdingdong

Untitled

Apr 19th, 2023
38
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. hundreds = int(input())
  2. decimals = int(input())
  3. digits = int(input())
  4.  
  5. for i in range(1, hundreds+1):
  6.     if i % 2 == 0:
  7.         c = i
  8.     else:
  9.         continue
  10.  
  11.  
  12.     for k in range(1, decimals+1):
  13.         if k == 2 or k == 3 or k == 5 or k == 7:
  14.             b = k
  15.         else:
  16.             continue
  17.  
  18.  
  19.         for j in range(1, digits+1):
  20.             if j % 2 == 0:
  21.                 a = j
  22.             else:
  23.                 continue
  24.  
  25.             print(f"{c} {b} {a}")
Comments
Add Comment
Please, Sign In to add comment