作业2

stuNum = '201709090008'
print('年级是:'+stuNum[0:4])
print('专业编号是:'+stuNum[4:9]
print('序号是:'+stuNum[-3:])

IDNo = '440711199809024227'
print('性别是:'+IDNo[2])
print('市区是:'+IDNo[0:6])
print('年月日是:'+IDNo[7:14])