Moin, warum läuft das nicht?
Wahrscheinlich total einfach, nur nicht für mich
start_price = 4.80
km = 10
costs = 2.10
total_exepenses = start_price + costs * km
print("Deine Kosten sind:", total_expenses)
Fehlermeldung:
Traceback (most recent call last):
File "<string>", line 5, in <module>
ERROR!
NameError: name 'total_expenses' is not defined. Did you mean: 'total_exepenses'?