num1 = float(input("Enter the first number: "))
num2 = float(input("Enter the second number: "))
operation = input("Which operation are you performing? (a/s/m/d) ")
if operation == "a":
print("{} + {} = {}".format(num1, num2, num1+num2))
elif operation == "s":
print("{} - {} = {}".format(num1, num2, num1-num2))
elif operation == "m":
print("{} * {} = {}".format(num1, num2, num1*num2))
elif operation == "d":
print("{} / {} = {}".format(num1, num2, num1/num2))
I hope this helps!
<span>Hey there, this isn't really my part of town, I'm what you call a math freak, but here.
In relation to computer processors, a core
is the processing kinda like a brain we ppl have, this is the unit that receives instructions and performs
calculations, or actions, based on those instructions like when you click something. A set of
instructions can allow a software program perform a specific function.
Processors can have a single core or multiple cores that do many different things.
Hopefully i helped you, please mark brainly if possible.</span><span />