醉梦半醒的博客

pythonchallenge

字数统计: 94阅读时长: 1 min
2018/06/18 Share

http://www.pythonchallenge.com

1.

print(pow(2,38))

2.

s="g fmnc wms bgblr rpylqjyrc gr zw fylb rfyrq ufyr amknsrcpq ypc dmp bmgle gr gl zw fylb gq glcddgagclr ylb rfyr'q ufw rfgq rcvr gq qm jmle sqgle qrpgle.kyicrpylq()gq pcamkkclbcb lmu ynnjw ml rfc spj "
s1=""
for i in range(len(s)):
    if s[i]==" ":
        s1+=" "
    elif s[i]=="y":
        s1+="a"
    elif s[i]=="z":
        s1+="b"
    elif s[i]=="(" :
        s1+="("
    elif s[i]==")" :
        s1+=")"
    elif s[i]=="'":
        s1+="'"
    else:
        s1+=chr(ord(s[i])+2)
print(s1)
CATALOG