Category:Python

From Rosetta Code
Language
Python
This programming language may be used to instruct a computer to perform a task.
Official website
Execution method: Interpreted
Garbage collected: Yes
Parameter passing methods: By object reference
Type safety: Safe
Type strength: Strong
Type expression: Implicit
Type checking: Dynamic
See Also:
Listed below are all of the tasks on Rosetta Code which have been solved using Python.
Try this language on Codepad.

From the official Python website: "Python is a programming language that lets you work more quickly and integrate your systems more effectively. You can learn to use Python and see almost immediate gains in productivity and lower maintenance costs."

It is easy to create clean bug-free programs in Python due to the motto: "Errors should never pass silently." Python is an interpreter. Python source files (.py files) are typically compiled to an intermediate bytecode language (.pyc files) and executed by a Python Virtual Machine.

=Complete the implementation of the stub function q1_mod_inverse(a, n) according to the following specification:

if there exists a multiplicative inverse of a (mod n) then it should return that value, even if it is negative; if there is no multiplicative inverse of a (mod n) it should return the special value None You may implement (and call from q1_mod_inverse(a, n)) any additional function required to assist in this task.

If your implementation does not correspond to the specification above (for instance, if you obtain a solution from the web, but do not correctly adapt it) then you will receive zero. Hint: You do not need to go beyond the materials provided in this unit for a solution.

See Also

Subcategories

This category has the following 18 subcategories, out of 18 total.

K

L

M

N

P

S

T

V

W

Pages in category "Python"

The following 200 pages are in this category, out of 1,513 total.

(previous page) (next page)

A

(previous page) (next page)