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

Can you please solve 10(−8x+7)−9x
Need help on this question asap pleasee and thank you (:
Which statement best describes a physical change? Changes can occur to certain chemical properties of the substance, but the overall shape of the substance will
Alzheimer’s disease: a. Marks mental decline or dementia. B. Results in the progressive deterioration of brain cells. C. Both a and b. D. Neither a nor b. Pleas
What is the area of this trapezoid? Enter your answer in the box
Anyone know what 2x - 30 is?
Acknowledging controversy and asking for careful consideration are two ways to adapt to which type of audience feedback? a. Hostility b. Confusion c. Boredom d.
Calculate the number of moles in 450.0 G of Fe2O3?
Various species of the flowering plant of the genus Chrysanthemum have 18, 36, 54, 72, and 90 chromosomes. The variation is likely due to:
(PLS HELPPPPPP) I WILL GIVE BRAINLIEST TO THE FIRST ANSWER!!!