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

The volume of a cylinder with height to radius ratio of 4:1 is 108 pie centimeters cubed. Find the radius and height of the cylinder.
What is the complete predicate of the following sentence?sharon and Jason went for a walk then a bike ride
3x-150=1778. Help me please I need help bad
how do I solve 9 1/9 - 5/6
Evaporation: Evaporation is the process where a _________ changes into a _________.
what is the ordered pair solution for;x + 2y = 53x - y = 1
State whether the following is an example of inductive reasoning or deductive reasoning You have a summer job as a mechanic’s helper. The mechanic asks you loos
The distance between the jones house and the smith house is 96 feet.How many yards is that?
Which substance does not obey the Lewis octet rule? (a) N₂ (b) NO (c) CF₄ (d) Ar Can anyone explain this?
Clarence brought 5 rolls of color film and 4 rolls of black - and - white film for his camera for a total of $24.00. The black - and - white cost $1.50 per roll