You are given two integers, a and b. Print the smallest value among a%b and b%a.
a, b = map(int, input("Enter 2 integers separated by space: ").split()) minimum = min(a % b, b % a) print(minimum)
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment