What is the output of the following code?
print (12 // 6)


Answer :

Answer:

2

  • See here we have //
  • // means floor division in python.
  • It gives us only the integer part not floating or decimal.

So

12//6=2