a
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
class Fahrzeug:
|
||||
def __init__(self,name,speed):
|
||||
self.name = name
|
||||
self.speed = speed
|
||||
self.items = 0
|
||||
|
||||
def __str__(self):
|
||||
return("Ich liebe "+ self.name)
|
||||
|
||||
def fahren(self):
|
||||
print("ich fahre")
|
||||
Reference in New Issue
Block a user