🚀 Hurry! Offer Ends In
00 Days
00 Hours
00 Mins
00 Secs
Enroll Now
X

निम्नलिखित अभिव्यक्ति का आउटपुट क्या होगा?

What will be the output of the following expression ?

print (7//2)
print (-7//2)
A)
B)
C)
D)

Explanation:

Sure!

  • 7 // 2 gives 3 because floor division rounds down.
  • -7 // 2 gives -4 because floor division rounds down towards the more negative number.

Answer: (C) 3 -4.

Latest Updates