17 lines
344 B
Python
17 lines
344 B
Python
|
# Programmfehler finden!
|
||
|
'''
|
||
|
print('Gib Zahl 1 ein")
|
||
|
input zahl1
|
||
|
input(Gib Zahl 2 ein)
|
||
|
|
||
|
differenz=zahl1+zahl2
|
||
|
print(diffrenz)
|
||
|
'''
|
||
|
# Lösung
|
||
|
# Programm, welches die Differenz zweier Zahlen berechnet (also Subtraktion/Minus)
|
||
|
print('Gib Zahl 1 ein')
|
||
|
zahl1 = int(input())
|
||
|
zahl2 = int(input("Gib Zahl 2 ein"))
|
||
|
|
||
|
differenz=zahl1-zahl2
|
||
|
print(differenz)
|