Advertisement
Spocoman

07. Maximum Multiple

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