+ 3
I wrote this code to perform basic mathematical operations but it does not work in the best way. Are there suggestions to solve
4 Answers
+ 3
use functions maybe?
def add(x,y):
return x+y
def subtract(x,y):
return x-y
etc...
+ 2
I need some support guys
+ 2
https://code.sololearn.com/cLXHMf8gfSnj/?ref=app
maybe like that. Probably better ways though.
+ 2
thanks emmey I'll try it