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 did progressives feel about the government
Find the value of y. 28.5 22.4 25.8 24.2
When used together, perspective and color variation create what effect for the viewer?
True or False. If f '(a)=0, then f may have a point of inflection at x=a. If false, explain why or give a counter example.
What is a REAL LIFE example of passive transport? Please answer asap!
what is the equivalent of -3 (x+2)+(x-3)x
What is the answer?????
PLEEEEEEASE HELP ME THIS IS VERY LATE WORK Nine thousand, ten and two hundred thirty-one thousandths 9,000 + 10 + 0.02 + 0.003 + 0.0001 David made a mistake wh
Pick the description of the line x + 3y=1 ? It vertical or horizontal?
can you guys help me on number 5