You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
262 B
9 lines
262 B
class Anschrift:
|
|
def __init__(self, strasse, hausnummer, plz, ort):
|
|
self.strasse = strasse
|
|
self.hausnummer = hausnummer
|
|
self.plz = plz
|
|
self.ort = ort
|
|
|
|
def __str__(self):
|
|
return f'{self.strasse} {self.hausnummer} \n {self.plz} {self.ort}'
|
|
|