Level 1 : what is the output of the following code?


pow(3,2,7)

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