#Methoden Aufgabe 1 It takes two numbers (a and b) and returns their sum. The user enters two numbers, wich are stored as a and b. The function calculates a+b. The sum is shown on the screen, e.g. Sum of 5 and 3 is 8. #Methoden Aufgabe 2 def berechne_prozent(): basiswert = float(input("Basiswert:")) prozentwert = float(input("Pozentteil:")) ergebnis = float(basiswert * prozentwert)/100 print(f"(prozentwert}% von {basiswert} sind {ergebnis}.")