Level 3 : What is the output of the following code?


x = 6
y = 2
print(x ** y)
print(x // y)

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