LU02.L03 - Summen

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))

Marcel Suter, Kevin Maurizi

  • modul/m319/learningunits/lu02/loesungen/summen.txt
  • Zuletzt geändert: 2024/03/28 14:07
  • von 127.0.0.1