1st Commi

This commit is contained in:
alstergym
2026-09-04 08:50:50 +02:00
parent 72476efe18
commit b2537f607d
4 changed files with 35 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
from kart import Kart
kart1 = Kart("Mario", 200, "rot", 0)
kart2 = Kart("Luigi", 180, "grün", 0)
print(kart1.color)
print(kart1)
kart1.beschleunigen()
print(kart1.tempo)