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