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


pow(3,2,7)

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