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

8. Which statement best describes the Richter scale? A. It's named after a scientist who studied tornadoes. B. It's a numerical rating system that measures
Which type of macromolecule is made of amino acids
If the label says "made with active cultures," are we always getting the benefits of active bacterial cultures? A) Yes, since the yogurt had to be made with liv
how did Hollywood ten demonstrate the nations anti-communist hysteria
Why can't our body resist radiation?
What is the synonym for discussion
What is the synonym for discussion
Great Britain, France, and the U.S. wanted Germany reunified to (A) show all was forgiven (B) relieve food shortages (C) help stabilize Europe (D) give support
what is longitude? what is latitude?
Saint Patrick’s accomplishments in Ireland are known because __________.