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

Most Swiss starlings produce four to five eggs in each clutch. Those producing fewer or more than this have reduced fitness. Which of the following terms best d
14. -2(y – 4) + 8y +2 < 16
Thunder and lightning may become connected in the mind because they often occur together. This is an example of which of the following? A. Law of similarity B.
Which correctly describes the current gender gap in voter turnout? a. the difference between those who register to vote, but do not cast ballots. b. the numbe
A rectangular settling tank is being designed to settle sand particles that have a settling velocity of 2.0 cm/s. The water flow is 10,000 m3/d. The tank length
what does the simile in this sentence really mean?
What does this say about a constructivist’s view toward the nature of passing on knowledge?
Which color of visible light has the longest wavelength and explain?​
I got n= 8/5, -1, but I don't think it's right. I would really appreciate any help with this :)
If a psychologist interested in the relation between number of years working for a particular company and loneliness at work surveyed 40 workers at this company