# Das ist die Methode def Halbiere(wert): wert = wert/2 # Hauptprogramm # Hier kommt der Methodenaufruf zahl = 4 Halbiere(zahl) print(wert)