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

What systematic problem-solving method guarantees a solution, provided that one exists? heuristic method an algorithm mnemonic device cognitive shortcut chunkin
How artifical intelligence will have more effect on our day to day life ? ​
Find two positive numbers whose product is 81 and whose sum is a minimum. (enter your answers as a comma-separated list. )
Accommodating peak demands and effectively using labor resources during periods of low demand would be the goal of aggregate planners in:________
Which test is the correct one to use when determining if the numbers picked in the lottery are randomly selected?
Title vii of the civil rights act applies to employers and labor unions with at least.
Family preservation, child care, and parenting skills services are examples of?
A solution has a poh of 7. 1 at 10∘c. what is the ph of the solution given that kw=2. 93×10−15 at this temperature? remember to report your answer with the corr
Two teaspoons of sugar provide about ________ kcalories.
find the surface area of composite figure. use 3.14 for π. round to the nearest tenth