Approximation ABC 407 Completed

Problem 9 of 50

Easy

lightbulb What to do

You are given two numbers: a positive number A and a positive odd number B. Your task is to find the whole number that is closest to the value of A divided by B.

Key Concepts
basic math finding the closest integer input and output handling
Examples

Input: 4, 7

Output: 1

Input: 407, 29

Output: 14

code Python Editor
Loading Python...
Test Results
tips_and_updates Tips for Beginners
  • Focus on understanding the logic, not memorizing syntax
  • Use print statements to debug your code
  • Don't worry about input parsing - the function handles that for you
  • If stuck, try writing out your solution on paper first