• 个人简介

    Life is short,I use Python

    这是个简易计算器

    a=int(input('请输入数字:'))
    op=str(input('请输入符号:'))
    b=int(input('请输入数字:'))
    if op=='+':
    print('等于',a + b)
    elif op == '-':
    print('等于',a - b)
    elif op == '*':
    print('等于',a * b)
    elif  op == '/':
    print('等于',a / b)
    else:
    print('错误❌')
    

    image

  • 最近活动

    This person is lazy and didn't join any contests or homework.
  • 最近编写的题解

    This person is lazy and didn't write any solutions.
  • Stat

  • Rating