73099/what-is-the-use-of-operator-in-python-can-anyone-explain
Hi,
I am new to python and still going through a learning phase, can anyone explain what is the use of // operator in Python?
Thanks.
Hi, @Roshni,
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.
Hope this helps.
Yes you can use '==' operator to ...READ MORE
Hi, The basic difference between these two are _init_ ...READ MORE
Polymorphism is the ability to present the ...READ MORE
raw_input fuction is no longer available in ...READ MORE
can you show some operations using bitwise ...READ MORE
how do i use it in a ...READ MORE
You can also use the random library's ...READ MORE
Syntax : list. count(value) Code: colors = ['red', 'green', ...READ MORE
The seed method is used to initialize the ...READ MORE
Hey, Web scraping is a technique to automatically ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.