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

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