#!/usr/bin/python3 # Beispiel zur üblichen if-Anweisung a = 0 # Wertzuweisung an Variable a if a!=0: # falls Bedingung wahr: b = 1/a # erster Befehl des Blocks print(b) # zweiter Befehl des Blocks