Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- number_divisor = int(input())
- number_boundary = int(input())
- target_number = next((number for number in range(number_boundary, 0, -1) if number % number_divisor == 0), 0)
- print(target_number)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement