Computer Science
What will the following code produce?
a = 8.6
b = 2
print ( a//b )
- 4.3
- 4.0
- 4
- compilation error
Python Data Handling
58 Likes
Answer
4.0
Answered By
8 Likes
Related Questions
In Python, a variable may be assigned a value of one type, and then later assigned a value of a different type. This concept is known as .......... .
Is it safe to directly use the == operator to determine whether objects of type float are equal?
In the Python statement x = a + 5 - b : a and b are .......... .
In the Python statement x =a + 5 - b : a + 5 - b is .......... .