0

Arithmetic arranger

why is this function not working properly. it keeps returning the "invalid operand " while the inputs are all correct https://code.sololearn.com/c1bNjz9IUm7f/?ref=app

13th Apr 2022, 10:03 AM
Reynolds Onyango
Reynolds Onyango - avatar
1 Answer
+ 2
You need to use and operator instead of or operator for conditions to work properly.
13th Apr 2022, 10:34 AM
Simba
Simba - avatar