牛客197213117号
牛客197213117号
全部文章
分类
归档
标签
去牛客网
登录
/
注册
牛客197213117号的博客
全部文章
(共34篇)
题解 | #查询多列#
select device_id,gender,age,university from user_profile
2022-08-27
0
186
题解 | #小数位修正#
a=float(input("")) b=round(a,2) print(b)
2022-08-20
1
261
题解 | #修正错误的字母#
a=input("") b=a.replace('*','b') print(b) python中的replace()方法的使用 需求是这样的:需要将字符串的某些字符替换成其他字符 str.replace(old,new,max) ...
2022-08-20
4
317
题解 | #单词造句#
b=[] while True: a=input("") if a =='0': break else: ...
2022-08-20
57
676
题解 | #字符子串的查找#
a=input("") b=a.find('NiuNiu') print(b)
2022-08-20
0
253
题解 | #列表中第一次出现的位置#
a=input("").split() b=a.index('NiuNiu') print(b)
2022-08-20
0
262
题解 | #错误出现的次数#
a=input("").split() b=a.count('0') print(b)
2022-08-20
1
239
题解 | #数学幂运算#
a=input("").split() b=[] for c in a: c=int(c) b.append(c) x=b[0] y=b[1] print(pow(x,y)) print(pow(y,x))
2022-08-20
0
232
题解 | #正数输出器#
a=int(input("")) b=abs(a) print(b)
2022-08-20
0
218
题解 | #朋友的年龄和#
a=input("").split() d=[] for i in a: i =int(i) d.append(i) b=sum(d) print(b)
2022-08-20
0
232
首页
上一页
1
2
3
4
下一页
末页