Files
Elias_Schuett_Mariokart/Fahrzeug.py
T
2026-09-07 11:03:02 +02:00

10 lines
198 B
Python

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)