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

Ford motor company sells the fusion ses for $24,400. the fusion hybrid sells for $29,975. what is the percentage increase in price for the hybrid over the fusio
In the equation for Ohm’s law what does I stand for? A. current B. resistance C. kilowatts D. voltage
After the agricultural season is over migrant workers must _______
Which kind of bond is formed when two atoms share electrons to form a molecule
Classify the triangle based on the side lengths 4.2, 6.4 and 7.6.
Write the fraction as a decimal. 28/15
Compute the sum 0.5+0.194 By The Way, the 5 from 0.5 and the 4 from 0.194 are repeating numbers Thanks so Much!
What are the steps taken by mining company to prevent pollution?
A national retail chain has asked Susan to conduct a customer satisfaction analysis. How should Susan collect the data? A. by conducting a census of the
Why is sonar a more accurate way of mapping the ocean floor than weighted lines?