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