-
Bio
a,b,c=input().split() a=int(a) b=int(b) if c=="*": n=a*b print(n) elif c=="/": if b==0: print("Divided by zero!") else: n=a//b print(n) elif c=="+": n=a+b print(n) elif c=="-": n=a-b print(n) else: print("Invalid operator!")
-
Accepted Problems
-
Recent Activities
Problem Tags
- 一本通编程启蒙
- 49
- 输出
- 1
- 语言基础-循环结构
- 1
- 入门必做-语言过关
- 1
- Python
- 1
- 选择题
- 1