摘要: plainText = input('message:') for d in plainText: print(chr(ord(d)+4),end='') message:tonight xsrmklx Process finished with exit code 0 阅读全文
posted @ 2018-05-21 17:09 qwertyuiopasdf 阅读(567) 评论(0) 推荐(0) 编辑
摘要: stuNum='44010505103547' print('省市区编号是:'+stuNum[0:6]) print('生日是:'+stuNum[6:10]) print('性别是:'+stuNum[12]) 省市区编号是:440105 生日是:0510 性别是:4 Process finished with exit code 0 阅读全文
posted @ 2018-05-21 16:52 qwertyuiopasdf 阅读(86) 评论(0) 推荐(0) 编辑
摘要: stuNum='201709080044' print('年级是:'+stuNum[0:4]) print('专业编号是:'+stuNum[4:9]) print('序号是:'+stuNum[10:12]) 年级是:2017 专业编号是:09080 序号是:44 Process finished with exit code 0 阅读全文
posted @ 2018-05-21 16:40 qwertyuiopasdf 阅读(404) 评论(0) 推荐(0) 编辑