Level 10 : What does the // operator do in Python?

Author: bhavani | Tags: arithmetic-operation | 1859+ Python FAQs | Share
memory | print-statement | range | stack | sorted | list-comprehension | operators | type-conversion-and-casting | string-manipulation | sorting | string | polymorphism | reading-and-writing-large-files-efficiently | string-concatenation | scientific-notation | zfill-function | multiple-inheritance | membership-operators-(in,-not-in) | print | tuple-methods | pseudocode | sum-function | postfix | python | operator-overloading | string-iteration | numeric | thread | sum() | python-history | logical-operator | data-type-conversions | complex | while-else-loop | mutable | method | __all__-attribute | object-attribute | lambda | arbitrary-arguments-(*args,-**kwargs) | mysql | working-with-temporary-files-using-tempfile | identity-operator | inheritance | reading:-read(),-readline(),-readlines() | arithmetic-operation | sys | datetime | input | pickling--unpickling | default-mutable-argument | floating-point-precision | filter-function | syntaxerror | thread-synchronization | higher-order-function | sets | control-statement | working-with-file-paths | numpy | operator-and | frozenset | operator-or | command-line-parsing | using-else-and-finally | class-and-instance-variable | nested-loop | data-type | rollback | complex-number | tuples | exponentiation | constructor | integer | update | loop-control-statements | overriding-methods | list-indexing | built-in-function | assert | list-comprehension | reading-and-writing-files | test-discovery | opening-files-(open()) | managing-directories-with-os-and-shutil | round-function | working-with-dates-and-times | handling-missing-values-(fillna,-dropna) | dicts | single-inheritance | id-function | assignment-operators | syntax-error | python-operators | filtering-and-indexing | control-flow | exception-handling | else | inherit | random | python-syntax-and-structure | lambdas | matrix-list-comprehension | fabs-function | namedtuple | math-copysign | python_version | data-structure | mathematics | creating-and-starting-threads | expand-tab | walking-through-directories-using-os.walk() | list-join | docstring | immutable-data-type | list | while-loops | indexing | recursion | encapsulation | basic | tuple-unpacking | software-design | conditional-statement | iterable | python-django | round | exception-handling | file-handling | split | writing:-write(),-writelines() | integers | arithmetic-expression | mapping-function | comprehension | debugging | collection | while-loop | import-method | introduction-to-multiprocessing | head-and-tail | lambda-functions | dictionary-methods | touples | using-yield-in-functions | operations | generators-in-python | exception | counter-function | data-structures-in-python | operator | enumerate() | classes | list-mutation | list-comprehensions | random-function | variable | regular-expression | attribute | conversion | logical-operator | factorial-function | identity-operator | parsing-with-strptime | list-slicing | filter | oops | access-modifier | condition | compute | iterator | invalid-list | heap-memory | list-method | multiple-except-blocks | error-handling | design-principle | binary-operation | pass | destructor | syntax | string-slicing | staticmethod | sys-module | namespace | boolean-and-non-boolean | regex | lambda-function | function | function-argument | statement | recurssion | lists | __future__ | pandas | methods | functions | comparison | matplotlib | data-structures | key-value-pairs | init | error | conditional-statements | precedence-and-associativity | set-operation | min-function | loop | objects | typeerror | file-handling | introduction-to-threads | max-min | built-in | introduction-to-python | int | slicing | asyncio | sorting-and-ranking | tuple | odd-number | gil | comment | version-check | using-os-and-pathlib-modules | for | creating-custom-modules | append | map-function | iterators | multithreading | multiprocessing | bitwise-operator | difference-between-threads-and-processes | copy | asyncio-module | data-type | descriptors | return-statement | benefit | working-with-binary-files-(rb,-wb) | bitwise-operator | implementation | swapping | deep-copy | shallow-copy | oop | string-formatting | formal-and-actual-parameter | slice | loop-control | keyword | module | string-formatting | syntax-error | package-management | conditional-statement | string-slicing | version | identity-operators-(is,-is-not) | static-method | virtual-environment | indexing:-loc-vs-iloc | aggregating-data-with-functools.reduce() | class-and-inheritance | quantifiers-(*,-+,-?,-{}) | generators | python-module | dictionary | application | functional-programming | default-arguments | global-variable | call | counter | logical-operation | boolean-masking | list-operation | datetime.date,-datetime.time,-datetime.datetime | list,-set,-and-dictionary-comprehensions | regular-expressions | with-statement | memory-management | data-structure | turtle | join | class-and-object | while-and-for-loop | built-in-modules | directory-operations | async | overflow | interpreter | set | match | logical-operators | intering | pep | data_structure | advanced-file-operations | class-decorators | operand | file | math | dictionaries | dataframe-and-series-objects | binary | error-handling | context-manager | matrix | assignment-operator | magic-method | datatype | escape-operator | list-methods-and-slicing | string-method | raise-statement | strings | name-mangling | feature | global-variable | loops | parameter | file_handling | literal-characters-and-special-characters | array | yield | function-and-scope | generator | boolean | decimal | global-keyword | unit-testing | type-conversion | string-methods | python-repl | format | bitwise | raise | list-vs-tuple | mathematical-function | multiple-inheritance | def | thread-safe-data-structures-(queue.queue) | string-method | precedence | method-overloading | using-lists-as-stacks | type-conversion | decorator | zip | threading | installation | using-the-threading-module | input-function | control-flow | virtual-environment | joining-and-merging-dataframes | choice | anchors-(^,-$) | using-map()-for-transformations | goto-function | using-assertions-(assertequal,-assertraises) | data-types | defining-functions | time-series-with-pandas | type_conversion | using-join()-and-is_alive()-methods | collections | dictionary-comprehensions | library | immutability | zip-function | __init_subclass__ | indentation | center | class | global | input-function | identifier | built-in-function | formatting-with-strftime | expression | else-statement | why-use-multiprocessing-over-threading?-(gil) | min-max-function | encoding | functional-programming | floats | booleans ...