Level 9 : What are the values of the following Python expressions?


2**(3**2)
 (2**3)**2
 2**3**2

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