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