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

I have been stuck with this one, and i would like to how to solve this. In each case, determine whether line AB is parallel or perpendicular to CD. (a) A(0, 0),
Can someone help me with this whole page? Hurry it's due Monday!
how many yards in 1/4 of a mile? Please help
what is the volume of an area? what is a polynomial?
need help with this question#20
"Pilgrim progress" what does the town vanity symbolize?
how do you write a fraction as a mixed number
What is the velocity of an object that has a mass of 2.5 kilogram and a momentum of 1,000 kg·m/sec?
The volume of a rectangular prism is 270 cubic centimeters. The height of the prism is 5 centimeters. What should the length and width of the prism be? Explain
differentiate benzene and cyclohexane