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

What's the function of y=x^2 if it experiences a vertical stretch of factor 2 and then a shift right of 3 units.
have you ever been swimming and noticed some areas in the water are colder and other are warmer? why do you think this happens
Who was the Massachusetts Bay colony established in new England by?
Determine the type and number of solutions of 4x^2-5x+1=0. A. Two real solutions B. One real solution C. Two imaginary solutions
The camping club wants to rent rafts. each raft can hold 8 people. which equation could be used how many rafts needed for 32 people?
What happens to the particles of a substance when thermal energy is added to the substance?
What is 8/10 minus 1/2?
How did the Muslims spread their religion? A. Crusades B. war C. missionaries D. faith
a builder buys 24.5 acres of land to develop a new community of homes and parks the builder plans to use 0.25 of the land and park how many acres will he use fo
A tissue system is a group of organs that work together to perform body functions