Level 9 : What will be the output of the following Python expression? ~100?

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