Advertisement
sibinasto

Untitled

Jan 17th, 2021
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. divisor = int(input())
  2. bound = int(input())
  3.  
  4. for n in range(bound, 0, -1):
  5.     if n % divisor == 0:
  6.         print(n)
  7.         break
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement