Level 9 : What is the output of the python expression ~103?

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