1.凯撒密码: 除了特殊字符不转化,其余的按照规定经行转译,以下以a~z和A~Z的字符都进行转译. plaincode = input("")print(len(plaincode))for i in range(0,len(plaincode)): if ord("a")<=ord(plaincode[i])<=ord("z"): print(chr(ord("a")+(ord(plaincode[i])-ord
题目: Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. The brackets must close in the correct order, "()" and "()[]{}" are all valid but "(]" and "([)]&