Commit e23b28cd by BellCodeEditor

save project

parent 98e66a21
Showing with 6 additions and 6 deletions
a=int(input("被除数")) list_hero=['赵一',30,'王三',40,'张三',50]
a=int(input("被除数")) list_hero=['赵一',30,'王三',40,'张三',50]
b=int(input("除数")) dict_hero={'赵一':30,'王三':40,'张三':50}
c=a%b print(len(list_hero))
d=int((a-c)/b) print(len(dict_hero))
print(a,"÷",b,"=",d,"余数",c) \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment