LU02.L03 - Summen
Python
number1 = float(input('Erste Zahl:')) number2 = float(input('Zweite Zahl:')) number3 = float(input('Dritte Zahl:')) print(str(number1) + ' + ' + str(number2) + ' = ' + str(number1 + number2)) print(str(number1) + ' + ' + str(number3) + ' = ' + str(number1 + number3)) print(str(number2) + ' + ' + str(number3) + ' = ' + str(number2 + number3)) print(str(number1) + ' + ' + str(number2) + ' + ' + str(number3) + ' = ' + str(number1 + number2 + number3))