题解 | #除法与取模运算#
除法与取模运算
https://www.nowcoder.com/practice/9fe22ac9e55448f4920886f84efeac58
x = int(input())
y = int(input())
print(x//y, x % y)
print('{:.2f}'.format(x/y))
y = int(input())
print(x//y, x % y)
print('{:.2f}'.format(x/y))
除法与取模运算
https://www.nowcoder.com/practice/9fe22ac9e55448f4920886f84efeac58
相关推荐