Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

unsolved

  1. austin

    Python Sum of Digits

    I am working on writing a code named sumDigits which takes three parameters: a, b, c. Then the function finds the smallest integer between a and b (both inclusive) whose sum of digits is c, and returns that integer. For example, sumDigits(10, 20, 5) will return 14, because the smallest...
Back
Top Bottom