This commit is contained in:
alstergym
2026-09-10 10:16:52 +02:00
parent 643c59ca7d
commit 8f9364e369
3 changed files with 24 additions and 4 deletions
-3
View File
@@ -3,6 +3,3 @@ class Fahrzeug:
self.name = name
self.geschwindigkeit = 0
def __str__(self):
return("Das Fahrzeug heißt "+ self.name +"und kann "+ str(self.geschwindigkeit) +"km/h schnell fahren.")