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

A taxi from the local airport charges a fee of $5 plus $0.55 per one-fourth mile. How much will it cost to travel 9 miles in the taxi?
The philosophy of determining morality by observing the world around us is called?
Should I learn Russian or German? Give reasons with your answer.
how do you fill a graphic organizer writing examples to regroup
PLEASE HELP!!! What mary's bmi if she is 5,2 and 133 pounds?
1. In 1840, if you wanted to travel from Baltimore, Maryland, to Vandalia, Illinois, what route would you take? A. Chesapeake and Ohio Canal B. Nation
Which of the following is a geographical limit? a.) temperature b.) soil quality c.) mountains d.) population density
To find more information about the Seven Natural Wonders of the World, a student should look in the card catalog under A) the title. B) the author. C) the sub
five questions you should ask yourself when trying to determine if a source of health information is reliable and trustworthy
​ ​ ​ ​​ ​−9x+3y=27 ​8x+8y=40 ​​