answersLogoWhite

0

You use the modulus operator: %

example: 7 % 2

will output a remainder of 1.

User Avatar

Wiki User

13y ago

What else can I help you with?

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 do you do division with remainder?

To perform division with a remainder, divide the dividend (the number being divided) by the divisor (the number you are dividing by) to find the quotient (the whole number result). Multiply the quotient by the divisor, and then subtract this product from the original dividend to find the remainder. The final result can be expressed as: Dividend = (Divisor × Quotient) + Remainder. The remainder must always be less than the divisor.


What is the remainder in division?

It's called the remainder


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 4241 divided by 57 with a remainder?

74.4035


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


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.


What is the remainder when 93 is divided by 4?

23.25


What is the number left over in division called?

The number left over in a division problem is called the "remainder".


What is a number left over from an inexact division?

the remainder


What is the remainder of 842 divided by 5?

168.4


What is the remainder for 2084 divided by 42?

49.619