This commit is contained in:
alstergym
2026-09-07 11:03:02 +02:00
parent e179c7493e
commit c52e5d2f6c
5 changed files with 93 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
class Fahrzeug:
def __init__(self, name, tempo):
self.name = name
self.tempo = tempo
self.items = 0
def __str__(self):
return("Du fährst "+ self.name)