+ 1

Help I can't do the Simple Calculator task...

I'm new to this

25th Oct 2020, 12:22 PM
Joey
Joey - avatar
3 Answers
+ 4
Joey , you have just started the python tutorial, so i would recommend you to continue learning before you start coding exercises.
25th Oct 2020, 2:38 PM
Lothar
Lothar - avatar
+ 2
Thank you but because it's one of the task after the first module
26th Oct 2020, 3:45 AM
Joey
Joey - avatar
0
a, b, c = int(input()), int(input()), input() a, b = int(a), int(b) if c == '+': print(a + b) elif c == '-': print(a - b) elif c == '*': print(a * b) elif c == '/': print(a / b) else: print('unknown value')
25th Oct 2020, 2:04 PM
_nrkvv_
_nrkvv_ - avatar