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

Read this excerpt from The Riddle of the Rosetta Stone by James Cross Giblin. Once they had mastered the three kinds of Egyptian writing, nineteenth-century sch
is y = x + 1 proportional ?
Katrina’s recipe for orange muffins calls for 400 grams of flour. How many kilograms of flour are in the recipe?
Identify the following groups by name and give the number of valence electrons in each... 1. Group 1 (1A): 2. Group 2 (2A): 3. Group 3-12: 4. Group 14 (4A): 5.
Henry recorded how many pounds of fruits and vegetables his family bought during the past two months.
Help! Please: Which is elastic and which is inelastic
How much of the circle is shaded? Write your answer as a fraction in simplest form.
With what purpose did the Whitmans established a mission in Oregon Country? A. spread Islam B. convert Natives to Christianity C. mine for gold
Through a combination of daring, brutality, and greed, the conquistadors 1. made possible the expansion of the Spanish empire in America. 2. brought capitalism
Whats the ratio of 40 to 30 I need help