'''
设计一个计算器
'''
print("《欢迎使用大大牛计算器》")
# print("请输入第一个数字:")
num1 = eval(input("请输入第一个数字:"))
# print("请输入运算符:")
operator = input("请输入运算符:")
num2 = eval(input("请输入第二个数字"))
if operator == "+":
result = num1+num2
elif operator == "-":
result = num1 - num2
elif operator == "*":
result = num1 * num2
elif operator == "/":
result = num1 / num2
elif operator == "%":
result = num1 % num2
else:
print("您输入的操作符号有误!")
print("计算结果是:{}".format(result))