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

why would immigrints have chosen to live in the middle colonies
Explain how you can find 3x584 using expanded form
A pitcher contains 2/3 quart of lemonade. If an equal amount of lemonade is poured into each of 6 glasses, how much lemonade will each glass contain?
What is the value of x? 3(x-2)+5x=18
The entire percussion section with the high school band.march;marches;play;or playing
Judging from the history of sumer,what geographic conditions would help other ancient civilizations to develop?I need answers fast please!!!!
What are 3 ways that scientists can learn about the earth's mantle?
Which early-20th century advancement allowed trade to increase between countries on Atlantic coasts and countries with pacific coasts
55/100 in simplest form
Vicky made some purchases at the sunflower market. she bought strawberries for $3.50, carrots for $2.25 and a bouquet of flowers for $9.95. if sales tax is 5%,