Advertisement
UraniumGames

15.2

May 26th, 2024 (edited)
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. _min = 30000
  2. while True:
  3.     _num = int(input())
  4.     if _num == 0:
  5.         break
  6.     elif _num < _min and _num % 3 == 0:
  7.         _min = _num
  8. print(_min)
  9.  
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement