0
not sure why function keeps returning the else option
Am I handling args wrong, can a function not accept multiple input types ? https://code.sololearn.com/caWF6466aelR
2 Réponses
+ 3
MaxBanter
Order of passing arguments is wrong, there should be
calc(inp1, inp2, op))
And also you didn't print returned value
+ 4
In the last line, you give the arguments in the wrong order to the function