标签:else image img 分享图片 inpu input ima NPU stun
id= ‘ 440111199903260346‘ area = id[0:6] birthday = id[6:14] sex = id[-2] print(area,birthday,sex) if (int(sex) % 2 == 0): print(‘girl‘) else: print(‘boy‘)
stuNum = ‘201709090073‘ print(‘年级是:‘+stuNum[0:4]) print(‘专业编号是:‘+stuNum[4:9]) print(‘序号是:‘+stuNum[-3:])
IDNo= ‘440111199903260346‘ 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=‘‘)
s = input(‘密文:‘) for c in s: print(chr(ord(c)-3),end=‘‘)
标签:else image img 分享图片 inpu input ima NPU stun
原文地址:https://www.cnblogs.com/Elaine326/p/9079386.html