I am new to python and still going through a learning phase, can anyone explain what is the use of // operator in Python?
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
10.0//5.0 = 2.0.
Hope this helps.
Yes you can use '==' operator to ...READ MORE
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
colors = ['red', 'green', ...READ MORE
The seed method is used to initialize the ...READ MORE
Web scraping is a technique to automatically ...READ MORE
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.