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