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

You are required to make 10mL of a 0.5M solution of HCl. Your stock solution of HCl is 90M. Using distilled water (dH2O) as a solvent, how much of each componen
why did many settlers support the slave trade?a .Settler's knew the slaves would be set free for one day b. the economically of many colonies depend on slaveryc
The selling price for a classic speedboat is $12,000. what was the speedboats original price if it is currently selling for $2,000 less than two times its origi
How might awareness of the fragility of life have affected people's receptiveness to this sermon?
A virus strain is 0.00000015 meters in length. What is the length in scientific notation?
is 2 by 2=4 rational or inrational and why
can someone help me on this its due in 25 min
Which sentence correctly states whether a question is scientific, and provides a correct explanation? “Is the lifespan of snowshoe hares, which are white in the
Find the slope of the following lin y = 4x
Solve using 2-step equations. You work as a salesperson at Cutco, and earn only commission. You earn 30% commission on everything you sell. Your bills this mont