2020年4月7日
摘要: n=input()m=list(str(n))if (m[0]=='Q' or m[0]=='q'): if (m[1]=='s' or m[1]=='S'): if (m[2]=='2'): if (m[3]=='X' or m[3]=='x'): print('验证码正确') else: pri 阅读全文
posted @ 2020-04-07 20:53 叫你一声你敢应吗 阅读(129) 评论(0) 推荐(0) 编辑
  2020年3月24日
摘要: N = eval(input(""))x = pow((1+N/1000),364)y = pow((1-N/1000),364)z = int(x/y)print("{:.2f}, {:.2f}, {}".format(x,y,z)) 阅读全文
posted @ 2020-03-24 22:38 叫你一声你敢应吗 阅读(118) 评论(0) 推荐(0) 编辑
摘要: n = int(input())pro = 1for i in range(1,n+1): pro = pro * iprint(pro) 阅读全文
posted @ 2020-03-24 20:10 叫你一声你敢应吗 阅读(77) 评论(0) 推荐(0) 编辑
摘要: str = input("")print(str[::-1]) 阅读全文
posted @ 2020-03-24 20:09 叫你一声你敢应吗 阅读(105) 评论(0) 推荐(0) 编辑
摘要: n=float(input())print(format(n, '.3f')) 阅读全文
posted @ 2020-03-24 20:06 叫你一声你敢应吗 阅读(84) 评论(0) 推荐(0) 编辑
摘要: x = float(input ())y = float(input ())S = round(x*y,2)print(S) 阅读全文
posted @ 2020-03-24 20:00 叫你一声你敢应吗 阅读(387) 评论(0) 推荐(0) 编辑
摘要: str1=input()for i in str1: if 'a'<=i<='z': print(chr(ord('z')-(ord(i)-ord('a'))),end='') elif 'A'<=i<='Z': print(chr(ord('Z')-(ord(i)-ord('A'))),end=' 阅读全文
posted @ 2020-03-24 19:59 叫你一声你敢应吗 阅读(101) 评论(0) 推荐(0) 编辑
摘要: num=eval(input())i=0x=num%10y=(num-x)/10%10z=(num-10*y-x)/100%10num=x**2+y**2+z**2while num!=1 and i<100: x=num%10 y=(num-x)/10%10 z=(num-10*y-x)/100% 阅读全文
posted @ 2020-03-24 19:58 叫你一声你敢应吗 阅读(99) 评论(0) 推荐(0) 编辑
摘要: N=eval(input()) t=0if N<0: n1=-N+10 n2=-N-10 n3=-N*10 t=-1 else: n1=N+10 n2=N-10 n3=N*10 t=1if n1<0: n1=-n1if n2<0: n2=-n2if n3<0: n3=-n3print(t*N,n1* 阅读全文
posted @ 2020-03-24 19:57 叫你一声你敢应吗 阅读(101) 评论(0) 推荐(0) 编辑
摘要: str=input("") t=0 for i in str: if i== "(" : t+=1 elif i== ")" : if t>0: t-=1 elif t<=0: print("配对不成功") break else: continue else: if t!= 0: print("配对 阅读全文
posted @ 2020-03-24 19:56 叫你一声你敢应吗 阅读(91) 评论(0) 推荐(0) 编辑