0
Quotient & Remainder(Intro)
When I put 1.25 % 0.5 I get a syntax error. I'm trying to get a better understanding of the modulo but when I put it to use I keep getting errors. Can someone explain what a Modulo is and how it should be used when writing the code please use a simple example(like the one above) so I can test it in code playground. Thank you very much for your help :)
1 Respuesta
+ 1
You can try "print(1.25%0.5)" without the quotes and it will not make any error