This commit is contained in:
alstergym
2026-09-07 11:03:28 +02:00
parent b8837ade50
commit 28ce6eec20
4 changed files with 35 additions and 10 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ class Fahrzeug:
self.items = 0
def __str__(self):
return("Ich liebe "+ self.name)
return(self.name)
def fahren(self):
print("ich fahre")
print(self.name + " fährt")