题解 | #除法与取模运算#
除法与取模运算
https://www.nowcoder.com/practice/9fe22ac9e55448f4920886f84efeac58
num1 = int(input()) num2 = int(input()) print(num1//num2,num1%num2) print('%.2f'%(num1/num2))
% 求余数
// 地板除法(向下取整)
/ 除法
除法与取模运算
https://www.nowcoder.com/practice/9fe22ac9e55448f4920886f84efeac58
num1 = int(input()) num2 = int(input()) print(num1//num2,num1%num2) print('%.2f'%(num1/num2))
% 求余数
// 地板除法(向下取整)
/ 除法
相关推荐