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