![]() |
![]() |
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:
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:
y = fakultaet(4)The empty instruction: