What will be the output produced by the following code?
print(14//4, 14%4, 14/4)
Answers
Answered by
16
The output will be 3 2 3.5
Explanation:
- // operator performs floor division
- % operator returns the remainder after division
- / operator performs normal division
Answered by
2
2) 14%4 = 4)14(3 so the answer is 2
12
__
2
3) 14/4= 3.5
Similar questions