Commit bfa2a78f authored by Gilles Coremans's avatar Gilles Coremans
Browse files

Use nicer prompts

parent 8a5a580f
operand1 = int(input()) operand1 = int(input("First operand: "))
operator = input() operator = input("Operator: ")
operand2 = int(input()) operand2 = int(input("Second operand: "))
if operator == "+": if operator == "+":
print(operand1 + operand2) print(operand1 + operand2)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment