+ 2
What can I also add to make it better?
I have just finished this simple calculator on Python. What codes can I add to make it better? https://code.sololearn.com/c1PhAhDcyIcN/?ref=app
4 Respostas
+ 9
...
- for substraction
* for multiplication
/ for devision''') # insert a new-line sequence '\n' direct before the triple quotes, # use 'division'
...
+ 4
if operation == '+':
print(f'{num1} + {num2} = {num1+num2}')
+ 1
Thanks!
+ 1
Thank you!