标签:图片 inf com 密文 技术分享 串操作 else info print
id = ‘440802199707180017‘
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‘)
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=‘‘)
标签:图片 inf com 密文 技术分享 串操作 else info print
原文地址:https://www.cnblogs.com/Hensmann/p/9079415.html