python 從身份證中獲取生日,年齡,性別信息

class GetInformation(object): def __init__(self,id): self.id = id self.birth_year = int(self.id[6:10]) self.birth_month = int(self.id[10:12]) self.birth_day =
相關文章
相關標籤/搜索