kittypower822
kittypower822 kittypower822
  • 16-11-2020
  • Computers and Technology
contestada

What will you see on the next line?
>>>int(12.8)
___

What will you see on the next line gtgtgtint128 class=

Respuesta :

handsomesquid807
handsomesquid807 handsomesquid807
  • 16-11-2020

Answer:

12

Explanation:

When you use the int() function on a float, it only cuts off everything past the decimal. Literally all it does. Also, the int() function doesn't round the number. Thus, proving the answer is 12.

hope i helped :D

Answer Link

Otras preguntas

which factor most influenced the construction of semi permanent settlements during the neolithic period
Why can nationalism be considered an advantage to a country?
Besides Antarctica which continent is made up almost entirely of desert
What is a radioactive idotope?
Help Please? :) An artist designed a badge for a school club. Figure ABCD on the coordinate grid below shows the shape of the badge: The badge is enlarged and
Which of the following politicians is most associated with fighting for causes that affected U.S. farmers? a. William McKinley b. Theodore Roosevelt c. Willi
Which do you think was a better way to reform the Catholic Church new religious orders or the Council of Trent?
Aiden measures a book with paper strips. It is actually 10 paper strips long, but he gets an answer of 8. What is his mistake ?
Light can travel from the sun to ________ in less than ten minutes. a. Mars b. Jupiter c. the Earth d. the next star
The elements of which group are nonreactive?