摘要: 1 import time 2 scale=50 3 print("执行开始".center(scale//2,"-")) 4 start=time.perf_counter() 5 for i in range(scale+1): 6 a='*' *i 7 b='·' *(scale-i) 8 c 阅读全文
posted @ 2020-03-22 21:46 zzh007 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 1 ss = input() 2 t = "" 3 for i in ss: 4 if 'a' <= i <= 'z': 5 t += chr( ord('a') + ((ord(c)-ord('a')) + 3 )%26 ) 6 elif 'A'<=c<='Z': 7 t += chr( ord( 阅读全文
posted @ 2020-03-22 13:29 zzh007 阅读(207) 评论(0) 推荐(0) 编辑