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

Need help with spanish
How is the population size affected by limiting factors?
When setting up tables and chairs for a meeting, the most important thing to consider is
A thundercloud has an electric charge of 43.2 C near the top of the cloud and -38.7 C near the bottom of the cloud. The magnitude of the electric force between
Mitosis replicates a cell with a complete set of ____ chromosomes into 2 daughter cells that are each _________ to each other.
How much of 32 grams of material is left after 4 half lives?
One feature of all DNA molecules is the____?
prokaryotic cells are simple and make up single cellular and multicellular organisms? True or false
What must a reading response paper include? A. A bibliography of authors works B. Paraphrase of text C. Thesis and summary D. Illustrations
If a terrorist attack had occurred in New York prior to 1982 who would have been mainly responsible for responding? The FBI ,the federal emergency management ag