You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
84 lines
1.1 KiB
84 lines
1.1 KiB
#1
|
|
p=input("")
|
|
#代码开始
|
|
y=""
|
|
for i in p:
|
|
if '0'<= i <='9':
|
|
y=y+chr(ord('9')-ord(i)+ord('0'))
|
|
elif 'A'<=i<='Z':
|
|
y=y+chr(ord('Z')-ord(i)+ord('A'))
|
|
elif 'a'<=i<='z':
|
|
y=y+chr(ord('z')-ord(i)+ord('a'))
|
|
#代码结束
|
|
print(y)
|
|
|
|
##2
|
|
# import math
|
|
# r=eval(input(""))
|
|
# m=int(input(""))
|
|
# n=int(input(""))
|
|
# #开始
|
|
# s=r*m/(1-math.pow(1+r, -n))
|
|
# #结束
|
|
# print("{:.2f}".format(s))
|
|
|
|
## 3
|
|
# sg=eval(input())
|
|
# tz=eval(input())
|
|
|
|
# BMI=tz/(sg**2)
|
|
# if BMI<18.5:
|
|
# print("体重过低")
|
|
# elif 18.5<=BMI<=24:
|
|
# print("体重正常")
|
|
# elif 24<BMI<=28:
|
|
# print("体重超重")
|
|
# else:
|
|
# print("体重肥胖")
|
|
|
|
|
|
## 4
|
|
# s=eval(input())
|
|
# n=eval(input())
|
|
# #开始
|
|
# f=59
|
|
# if s>800:
|
|
# f=f+(s-800)*0.1
|
|
# if n>40:
|
|
# f=f+(n-40)*1
|
|
|
|
# #结束
|
|
# print("{:.2f}".format(f))
|
|
|
|
|
|
|
|
# #结束
|
|
|
|
## 5
|
|
# y=eval(input())
|
|
# #开始
|
|
# n=1
|
|
# zf=1
|
|
# s=0
|
|
# while 1/n>y:
|
|
# s+=1/n*zf
|
|
# n+=2
|
|
# zf*=-1
|
|
# s=s*4
|
|
|
|
# #结束
|
|
# print("{:.4f}".format(s))
|
|
|
|
|
|
|
|
|
|
## 6
|
|
# ch=input("")
|
|
# #开始
|
|
# s=''
|
|
# for i in range(ord('a'),(ord(ch)+1)):
|
|
# s+=chr(i)
|
|
# print(s)
|
|
|
|
|