निम्नलिखित अभिव्यक्ति का आउटपुट क्या होगा?
What will be the output of the following expression ?
print (7//2)
print (-7//2) A
3 -3
B
4 -4
C
3 -4
D
3 3
Explanation
Sure!
7 // 2gives3because floor division rounds down.-7 // 2gives-4because floor division rounds down towards the more negative number.
Answer: (C) 3 -4.
Correct Answer: C) 3 -4