无言非沉默
无言非沉默
全部文章
分类
归档
标签
去牛客网
登录
/
注册
无言非沉默的博客
全部文章
(共105篇)
题解 | #团队分组#
import sys group_list=['Tom', 'Allen', 'Jane', 'William', 'Tony'] print(group_list[0:2]) print(group_list[1:4]) print(group_list[3:5])
2023-11-10
0
163
题解 | #用列表实现栈#
import sys stack = [1,2,3,4,5] a=int(input()) stack.pop(len(stack)-1) print(stack) stack.pop(len(stack)-1) print(stack) stack.append(a) print(stack)
2023-11-10
0
178
题解 | #密码游戏#
import sys a=input() b=[] for i in range(0,len(a)): c=(int(a[i]) + 3) % 9 b.append(str(c)) d="".join(b) e,f,g,h = d print(g,h...
2023-11-10
0
203
题解 | #删除好友#
import sys a=input().split(" ") b=input().split(" ") a.remove(b[0]) print(a)
2023-11-09
0
163
题解 | #删除简历#
import sys a=input().split(" ") a.pop(0) print(a)
2023-11-09
0
177
题解 | #增加派对名单(二)#
import sys a=input().split(" ") a.insert(0,"Allen") print(a)
2023-11-09
0
159
题解 | #列表的长度#
import sys print(len(input().split(" ")))
2023-11-09
0
170
题解 | #生成数字列表#
import sys a=input() b=a.split(" ") c=[] for i in range(0,len(b)): c.append(int(b[i])) print(c)
2023-11-09
0
175
题解 | #生成列表#
import sys a=input() print(a.split(" "))
2023-11-09
0
176
题解 | #发送offer#
import sys offer_list=['Allen','Tom'] for i in offer_list: print("{}, you have passed our interview and will soon become a member of our comp...
2023-11-09
0
155
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页