Back
Contents Instructions

An instruction is the call of an individual function or method of Python. It in the program structure chart represented by a simple rectangle:

Anweisung

Some examples of different kinds of instructions follow.

Value assignments:
Assign to a variable a new value.
On the left side of the equals sign the name of the variables stands; on the right the assigned value, a character sequence or a function.

x = 5
y = x+2
name = "Manfred sample man"
Function calls:
Call a subroutine or a before defined function
y = fakultaet(4)
The empty instruction:
The instruction pass does not have a function. It is used as substitute symbol for empty expressions.

To output and input of text there are special instructions.