import io
import sys
sys.stdout = io.TextIOWrapper(sys.stdout.buffer,encoding='utf-8')
sys.stdin = io.TextIOWrapper(sys.stdin.buffer,encoding='utf-8')
#coding:utf-8
import io
import sys
sys.stdout = io.TextIOWrapper(sys.stdout.buffer,encoding='utf-8')
sys.stdin = io.TextIOWrapper(sys.stdin.buffer,encoding='utf-8')
class Address():
def __init__(self,province,city,street,house,apt,postal=''):
self.province=province
self.city=city
self.street=street
self.house=house
self.apt=apt
self.postal=postal
def showAddress(self):
print(self.street+','+self.house+','+self.apt)
print(self.province+','+self.city+','+self.postal)
province, city, street, house, apt = input().split()
a = Address(province, city, street, house, apt)
province, city, street, house, apt, postal = input().split()
b = Address(province, city, street, house, apt, postal)
a.showAddress()
print()
b.showAddress()
可以找个案例类抄写下