07.09.2026

This commit is contained in:
alstergym
2026-09-07 11:04:45 +02:00
parent 7dbe92afab
commit d14b2d2383
4 changed files with 124 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
class Fahrzeug:
def __init__(self, typ):
self.typ = typ
def __str__(self):
return("Ich bin ein " + self.typ)
def fahren(self):
print("Ich fahre.")