Partnersystem Init.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class Telefonnummer:
|
||||
|
||||
def __init__(self, lkz, vorwahl, nummer):
|
||||
self.lkz = lkz
|
||||
self. vorwahl = vorwahl
|
||||
self.nummer = nummer
|
||||
|
||||
def __str__(self):
|
||||
return f'+{self.lkz}-{self.vorwahl}/{self.nummer}'
|
||||
Reference in New Issue
Block a user