Python Developer Question:

Tell me the use of // operator in Python?

Tweet Share WhatsApp

Answer:

It is a Floor Divisionoperator , which is used for dividing two operands with the result as quotient showing only digits before the decimal point. For instance, 10//5 = 2 and 10.0//5.0 = 2.0.

Download Python Developer PDF Read All 77 Python Developer Questions
Previous QuestionNext Question
How to share global variables across modules?Explain me what is the common way for the Flask script to work?