answersLogoWhite

0


Best Answer

You use the modulus operator: %

example: 7 % 2

will output a remainder of 1.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you find the remainder of a division on python?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is floor division in Python?

Floor division is division where the answer is rounded down. For example, 5/2 in floor division is not 2.5, but 2. In Python 2, floor division is the default. In Python 3, the floor division operator is //. Python 2: >>> 5/2 2 >>> 5.0/2 2.5 Python 3: >>> 5/2 2.5 >>> 5//2 2


How Write a cprogram to find all the numbers divisible by 5and7 between 1to100?

To check for divisibility, use the "%" operator - the remainder of a division. If the remainder is 0, it is divisible.for (i = 1; i


What is the remainder in division?

It's called the remainder


How do you find out if a number is divisible by something?

Do the division and if the remainder is 0 then the number is divisible by the something and if not it isn't.


How do you find the answer to a division problem?

Divide the divisor into the dividend which will result as a quotient and sometimes having a remainder


What is a number left over from an inexact division?

the remainder


Does 973 divided by 81 have a remainder?

12.0123


How do you invert the remainder of division problem to a decimal?

You do not invert it. However, you can convert the remainder to a decimal by carrying out a long division of the remainder divided by the original divisor. For example, 13/3 = 4r1 Then, long division of the remainder (=1) by the divisor (=3) gives 0.33.... which is the converted remainder. The full quotient, in decimal form is 4.33...


What is the greatest possible remainder for a division of 76?

Division BY 76: 75 Division of 76: 76


How do we find remainder of two numbers by using addition subtraction multiplication and division?

The remainder of two positive integers can be calculated by first dividing one number (the dividend) by the other (the divisor) using integer division (ignoring any fractional component). Multiply this quotient by the divisor, then subtract the product from the dividend. The result is the remainder. Alternatively, while the dividend remains greater than the divisor, subtract the divisor from the dividend and repeat until the dividend is smaller than the divisor. The dividend is then the remainder.


If the divisor of a division problem is 4 what number can be a remainder for that problem?

If the divisor of a division problem is 4, any number between 0 and 3 (inclusive) can be a remainder for that problem.


What are the parts of a division problem?

the parts of division problem are : dividend , divisor , quotient and remainder . where : dividend = quotient * divisor + remainder