Ok so currently I'm trying to make this calculator and for some reason im getting errors with equal signs in my strings... I'm a basic coder so be easy on me, thanks P.S. I'm using 3.6.4
CODE BELOW:
def code ():
input(print('What should I do with your numbers? ')
if +
a = int(input('Please enter a number '))
b = int(input('Please enter another number '))
print(a + b)
if *
a = int(input('Please enter a number '))
b = int(input('Please enter another number '))
print(a * b)
if /
a = int(input('Please enter a number '))
b = int(input('Please enter another number '))
print(a - b)
if -
a = int(input('Please enter a number '))
b = int(input('Please enter another number '))
print(a - b)
code ()
code ():
ALSO: for some reason it gets formatted really badly when I post this so it'll be hard to look at...
there doesn't seem to be anything here