카테고리 없음

[코드업][기초 100제][파이썬] 합, 차, 곱, 몫, 나머지, 나눈 값 출력

내만 2022. 7. 12. 13:48
728x90
반응형

 

 

 

 

 

 

🙆‍♂️문제


 

 

🙋‍♂️풀이


a,b = map(int,input().split())
print(a+b)
print(a-b)
print(a*b)
print(a//b)
print(a%b)
print(format(a/b, ".2f"))

 

728x90
반응형