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

How does the amount, or magnitude, of charge on an object affect its attraction or repulsion of another object?
Which one of the following statements about attitudes is correct? A. Negative attitudes can't be changed. B. Positive attitudes can help us learn qu
The power to create laws and to regulate taxes and commerce belong to which branch of government
is powdered drink and water a mixture or a solution
When electrons are shared, the type of bonding is called?
PLEASE ANSWER ASAP!!!!!!!!!!!!!!! The perimeter of a rectangle is at most 80 inches. The length of the rectangle is 25 inches. The inequality 80 - 2w > 50 ca
Video-sharing sites such as youtube and vimeo provide a place to post short videos called clips, true or false?
What is 7 and 29/80 as a decimal?
At a recent party, it cost $9.50 for refreshments for 10 guests.At this rate, how much would it cost to have refreshments for 80 guests?
True or false? for any two nonzero integers, the product and quotient have the same sign.