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

How to simplify 1.7+(-5)+(-3.27)
Credit is available most readily to ____. a. people who use it for good reasons b. people who can offer the most collateral c. people with a good credit r
x y 0 -7 1 -4 2 -1 3 2 4 5 Which equation corresponds to the function described in the table? A) y = x - 7 B) y = x - 3 C) y = x - 1 D) y = 3x - 7
3 tv shows that impacted the Era of 1950s
A parallelogram has a height of 4 cm in an area of 32 square centimeters what is the measurement of the base of the parallelogram
What were the differences between Athenian women and Sparten women?
who's this president?
Thermals created by warm air rising and cold air sinking are called___?
Why were the british able to purchase the suez canal from the egyptians?
A gold nugget has a volume of 20.0 cm3 and its density is 19.3 g/cm3. What is the mass of the gold nugget?