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

Find the arc length of a central angle of 36° in a circle whose radius is 2 inches.
2 tan x - Sin 2x ÷ 2 Sin^2 x = tan x​
Corey deposits $3500 a bank which pays 3% interest per year. How much money will John have in his account after 10 years?
Xavier and Carlos have a bet to see who can get more “friends” on a social media side after 1 month. Carlos has 10 more friends than Xavier when they start the
Solve 64x2 - 121 = 0 using square roots.
whats a prokaryote? what is a eukaryote?
Which is NOT a function of the heart?
How does justice differ between countries and cultures?
How much tax will be paid on an item with a 7.5% tax rate that is $1425.89? Round to the nearest cent and do not include a dollar sign
Which of the following statements about challenges is incorrect? a) The way you respond to challenges in your life is important. b) Every challenge is a way to