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

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