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

What hope is given to people in his tomb saying arthur is the "once king and king will be "?
The angle between the lines of sight from a lighthouse to a tugboat and to a cargo ship is 27°. The angle between the lines of sight at the cargo ship is twice
simplify the expression [tex] \frac{-5+i}{2i}[/tex]
“FYI” is an _______ meaning for your information.
What is the y-intercept of the line -5x 2y = 14?
As the population of small fish in a lake decreases, the population of large fish that depend on the small fish for food will _______. reproduce faster begin to
label The Columns of the table explain your answer
PLEASE HELP !!!! 1) A group of friends will be buying at most 10 items at the concession stand at the high school football game. They have no more than $25 to s
Why doesn't an animal cell have a cell wall?
Rewrite the following expression 15+21 using the GCF and the distributive property