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 is this question
Two siblings, Matthew and Katie, are working hard to save money to go on a summer trip with their family. Both started with some money, and they both have jobs
ben & jerry’s ice cream buys keywords for a search marketing campaign such as ""ben & jerry’s chunky monkey"" and ""ben & jerry’s cherry garcia."" w
Solve for x. (x-2)/3=1
6 Solve the equation for x. 2/3x - 1/9x + 5 = 20
help me please if i dont do my homework my mom will beat me
Tất cả hàng hóa khi qua các kho đều lần lược qua 4 khâu nào: a. Nhập, lưu trữ, chọn lọc, giao hàng b. Nhập, lưu trữ, chọn lọc, xuất kho c. Nhập, lưu trữ, chọn l
Find the circumference. Use 3.14 for n. r = 3 C = [?] ft = C=Td
When studying art from long ago, it’s tough to determine how and why a piece of art was created. However, there is more information about ancient art than there
Fill in the blanks. A transversal is a __________ that ____________ 2 or more lines.