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

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