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

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