Simple Calculator
imcraft (5)

Simple Calculator I made. Just select which math operation you want then type the two numbers you need!

You are viewing a single comment. View All
ChezCoder (128)

@EthanCulp or more simple:

equation = input('Enter the first number: ')
equation += input('Enter the operator: ')
equation += input('Enter the second number: ')
try:
    print(
        "Result: " + eval(equation) + "."
    )
except:
    print(equation + '? Really? Does that look like an equation to you?')