lyhkng6694 lyhkng6694
  • 01-02-2022
  • Computers and Technology
contestada

how to get the whole number of a fraction in python

Respuesta :

goldenstreameryt
goldenstreameryt goldenstreameryt
  • 01-02-2022

Answer:

Using the modulo ( % ) operator. The % operator is an arithmetic operator that calculates and returns the remainder after the division of two numbers. If a number is divided by 1, the remainder will be the fractional part.

Answer Link

Otras preguntas

Which of the following factors does not favor a change in gene frequency and, therefore, evolution? (A) large populations (B) mutations (C) emigration (D) genet
A wet towel is hanging on a clothesline in the sun. What process does the towel dry by?
A bag has index cards with the following numbers on them: 4, 11, 13, 25, 12, and 18. If an index card is drawn randomly , what is the probabilty that a composit
If (x − 2)^2=49, then x could be ?
If (x − 2)^2=49, then x could be ?
You hear a thunder 3 seconds after you see lightning. How far away is the storm?
Which of the following factors does not favor a change in gene frequency and, therefore, evolution? (A) large populations (B) mutations (C) emigration (D) genet
Payments designed to make up for war damage are known as
how many minutes is it before 12 noon if 20 minutes ago it was three times as many minutes after 9 am
How do you think the people conquered by the Romans felt about their new rulers