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.
10 lines
274 B
10 lines
274 B
2 years ago
|
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 self.strasse + ' ' + self.hausnummer + '\n' + self.plz + ' ' + self.ort
|