Leeee1111 / testjudge-asia

0 stars 0 forks source link

B0108 計算總和、乘積、差、商和餘數 #14

Open Leeee1111 opened 1 month ago

Leeee1111 commented 1 month ago
a,b=input().split()
a=int(a)
b=int(b)
print(a,"+",b,"=",a+b,sep='')
print(a,"*",b,"=",a*b,sep='')
print(a,"-",b,"=",a-b,sep='')
print(a,"/",b,"=",a//b,"..",a%b,sep='')