利用python获取身份证号中年龄和性别信息

import datetime 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]) s
相关文章
相关标签/搜索