+ 1
I am not getting quotient and remainder operation. I need ur help .two front // and % how is it used. Plz explain me
2 Respuestas
+ 4
print(7//2) # 3, the quotient
print(7%2) # 1, the remainder
+ 5
the // operator, does floor division, i.e. gives the answer rounded to the nearest ones digit.
the % or modulus operator, gives the remainder of a division problem.