Advertisement
Nenogzar

Untitled

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