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


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

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