a
This commit is contained in:
+10
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user