The result of the following division:
1 // 2
- cannot be predicted
- is equal to 0.0
- is equal to 0.5
- is equal to 0
Explanation: The // operator divides two numbers and rounds the result down to the nearest integer number. Since 1 divided by 2 is 0.5, the resulting number is rounded down to 0.
More Questions: Python Essentials 1 (PE1) Course Final Test
Please login or Register to submit your answer