标签:字符 专业 序号 tun col src span bubuko pre
stuNum = ‘201709090040‘ print(‘年级是:‘+stuNum[0:4]) print(‘专业编号是:‘+stuNum[4:9]) print(‘序号是:‘+stuNum[-3:]) IDNo= ‘441424199809226968‘ print(‘省市是:‘+IDNo[0:2]) print(‘生日是:‘+IDNo[-8:-4]) print(‘性别是:‘+IDNo[-2])
print(ord(‘+‘)) print(chr(9800)) print(chr(9801)) for i in range(12): print(9800+i,chr(9800+i))
s = input(‘明文:‘) for c in s: print(chr(ord(c)+3),end=‘‘)
标签:字符 专业 序号 tun col src span bubuko pre
原文地址:https://www.cnblogs.com/-Fuxin/p/9079391.html