

hier die fehlermeldung:
------------------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Dokumente und Einstellungen\Alexander Heinz\Eigene Dateien\taschenrechner.py", line 23, in ?
d = a + b
TypeError: unsupported operand type(s) for +: 'builtin_function_or_method' and 'builtin_function_or_method'
------------------------------------------------------------------------------
Hier mal der Code:
-------------------------------------------------------------------------------
Code: Alles auswählen
print"Taschenrechner."
print"Gib bitte die erste zahl an!"
input()
a=input
print"Gib bitte die zweite zahl an!"
input()
b=input
print"Wähle jetzt bitte die Rechenart!"
print"1 = +"
print"2 = -"
print"3 = x"
print"4 = /"
input()
c=input
print"Das Ergebnis lautet:"
d = a + b
e = a - b
f = a + b
g = a / b
if c< 2 > 0:
print d
if c <3 >1:
print e
if c< 4 > 2:
print d
if c <5 >3:
print e
Schonmal danke im vorraus, iss echt wichtig