azi1997
azi1997
全部文章
分类
归档
标签
去牛客网
登录
/
注册
azi1997的博客
全部文章
(共11篇)
题解 | #DNA序列#
while True: try: s = input() &nbs...
Python3
2022-09-02
0
327
题解 | #字符串合并处理#
while True: try: str1, str2 = input().split() ...
Python3
2022-09-02
0
334
题解 | #字符串通配符#
import re while True: try: s = input().lower() &nbs...
Python3
字符串
2022-08-31
1
329
题解 | #求解立方根#
while True: try: val = float(input()) &...
Python3
数学
2022-08-31
1
507
题解 | #简单密码#
方法1, 使用if-else语句,遍历所有 while True: try: s = input() &n...
Python3
2022-08-22
0
284
题解 | #简单密码#
方法1, 使用if-else语句,遍历所有 while True: try: s = input() &n...
Python3
2022-08-22
0
289
题解 | #字符串排序#
while True: try: s = input() &nbs...
Python3
2022-08-22
0
308
题解 | #单词倒排#
思路一: 使用正则表达式找到所有单词, reverse, 符合长度条件输出 ## import re x = input() words = re.findall(r"[a-zA-Z]+",x) words.reverse() le...
Python3
2022-08-21
0
334
题解 | #删除字符串中出现次数最少的字符#
x = input() if len(x) in range(1,21) and x.islower(): strs = list(x) ...
Python3
2022-08-21
0
344
题解 | #截断电话号码#
import re x = input() pattern = "[0-9|-]+" result = re.match(pattern,x) print(result.group())
Python3
2022-08-19
0
299
首页
上一页
1
2
下一页
末页