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


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

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