explorer_
explorer_
全部文章
分类
归档
标签
去牛客网
登录
/
注册
explorer_的博客
全部文章
(共5篇)
题解 | #使用字典计数#
s = input() d = {} for x in s: d[x] = s.count(x) print(d)
Python3
2022-09-05
0
245
题解 | #牛牛的绩点#
f = 1 total = 0 #学分*绩点 n = 0 #学分 score = {'A':4.0,'B':3.0,'C':2.0,'D':1.0,'F':0} w...
Python3
2022-09-05
0
245
题解 | #生成数字列表#
print(list(map(int,input().split())))
Python3
2022-09-02
0
249
题解 | #格式化输出(三)#
print(input().strip())
Python3
2022-08-29
0
262
题解 | #十六进制数字的大小#
n = int(input(),16) print(n)
Python3
2022-08-29
9
366