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

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