Partnersystem Init.

This commit is contained in:
2023-02-26 15:44:41 +01:00
parent a7e5ab91b1
commit e9a848835d
5 changed files with 35 additions and 0 deletions

View File

@@ -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}'