+ 1

Is this working properly for anyone?

I wrote this and I've been experiencing some very odd behavior. https://code.sololearn.com/c54rgLpYzLUU/?ref=app First, it wouldn't check the remaimder correctly. I got it working after changing it, running it, then changing it back and running it again. And now it's returning 8 for a true or false return value and I'm confused. Edit: Solved it. I forgot a return statement so it was returning who knows what. I'm gonna guess a garbage value.

3rd Jul 2019, 1:03 AM
Daniel Cooper
1 Antwort
0
Good
24th Dec 2019, 12:24 PM
Randych
Randych - avatar