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

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