This commit is contained in:
alstergym
2026-09-07 09:56:06 +02:00
parent 4a7a614ec1
commit f6858d4726
5 changed files with 69 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
class Fahrzeug:
def __init__(self,name):
self.name = name
def __str__(self):
return("Es fährt "+self.name )
def fahren(self):
print("ich fahre")