07.09.
This commit is contained in:
+2
-2
@@ -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")
|
||||
Reference in New Issue
Block a user