python-by-example-150-chall.../challenges1-11/challenage-011.py
2025-05-26 06:49:34 +08:00

6 lines
247 B
Python

large = int(input('enter number over than 100 : '))
small = int(input('enter number smaller than 10 : '))
# // floor division 相当于c中的floor函数
answer = large//small
print('{0} goes into {1} for {2} times'.format(small, large, answer))