asked 188k views
0 votes
What will be the output of the following lines of code and the user's response?

What will be the output of the following lines of code and the user's response?-example-1

1 Answer

5 votes

Answer:

The answer is C. 85

Step-by-step explanation:

The int() function is usually used to turn a float, to an int. When you use the int() function, it just cuts of everything past the decimal. It doesn't round the float. Leaving you with the option C. 85

hope this helped you :D

answered
User Adi Tiwari
by
8.3k points

No related questions found