2nd Commit

This commit is contained in:
alstergym
2026-09-18 08:23:51 +02:00
parent b2537f607d
commit 5f376cc2cb
13 changed files with 122 additions and 35 deletions
+10
View File
@@ -0,0 +1,10 @@
from kart import Kart
kart1 = Kart(500, 100, "Mario", "rot", 300)
kart2 = Kart(600, 100, "Luigi", "grün", 200)
print(kart1.farbe)
print(kart1)
kart1.beschleunigen()
print(kart1.tempo)
kart2.rammen()
print(kart2.tempo)