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

If f(x) is 4x-3 what is (f^-1of) (10)
I just need the equation on how to do it. I'm so lost :'( help please!!!!!!
The Habsburg Empire did all of the following EXCEPT A. take control of Hungary, Croatia, and Slovonia. B. lose their Holy Roman Empire in Germany. C. remain a c
I just need the equation on how to do it. I'm so lost :'( help please!!!!!!
lara has a tin of peanuts cashews and pecans she will pick a second nut without looking. how many outcomes are there for her two picks?
which foods earthworms can digest?
An ice cube is dropped into boiling water. How will heat flow between the water and the ice cube?
Consider two linear transformations y = T(x) and z = L(y), where T goes from R^m to R^p and L goes from R^p to R^n. Is the transformationz = L(T(x)) linear as w
What are the operation sines that make this statement correct? 3_5_7_18_3=14
I just need the equation on how to do it. I'm so lost :'( help please!!!!!!