Level 9 : What does ~~~~~~18 evaluate to?

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