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 many equal slices are in a cake that are in a cake that is divided into quarters?
Viruses are not true living organisms because they're not made of cells. a. True b. False
An example of a parallel choice on a dichotomous key is
What is the Harlem Renaissance?
A bag contains 5 red marbles, 3 blue marbles, 7 yellow marbles, and 2 green marbles. Which ratio can be used to compare the red marbles to the blue marbles? A)
The Nazi regime's "Final Solution" is best described as a plan designed to __________. a. halt the elimination of the Jewish population b. eliminate the Jewish
What is the plural of cameo? cameos cameoes both
How long did the Berlin airlift last? 1 week 2 years 324 days 5 months
at the end of one performance the total that isaac received was 750. THIS INCLUDED A TIP FOR THE USUAL FEE OF 649 WHAT PERCENT WAS THE TIP
Suppose heather drives at a constant rate of 60 miles per hour for 2 hours. How far will she have traveled in that time.