牛客733381482号
牛客733381482号
全部文章
题解
归档
标签
去牛客网
登录
/
注册
牛客733381482号的博客
全部文章
/ 题解
(共4篇)
题解 | #等差数列#
while True: try: n=int(input())  ...
Python3
2021-12-08
0
325
题解 | #四则运算#
import re s=input() s=re.sub("{|\[", "(", s) s=re.sub("}|\]", ")", s) print(int(eval(s)))
Python3
2021-12-08
0
480
题解 | #字符个数统计#
s1=input() s=list(s1) #把不在范围内的元素删除 for i in s: if ord(i)>127:  ...
Python3
2021-12-07
0
358
题解 | #句子逆序#
s=input().split() #接收输入内容 s1=s[::-1] #把输入内容倒序排列 for x in s1: print(x,end=" ") &...
Python3
2021-12-07
33
3413