我有一只狗
我有一只狗
全部文章
分类
题解(46)
归档
标签
去牛客网
登录
/
注册
我有一只狗的博客
全部文章
(共48篇)
题解 | #简单密码#
while True: try: mima = input() list1 = list(mima) x...
Python3
2022-06-08
1
246
题解 | #求int型正整数在内存中存储时1的个数#
while True: try: n = int(input()) m = bin(n) #转换成二进制的形式 &nbs...
Python3
2022-06-08
2
212
题解 | #字符串排序#
while True: try: n = int(input()) list1 = [] if n &l...
Python3
2022-06-08
3
1400
题解 | #句子逆序#
while True: try: char1 = input().split() len1 = len(char1) &...
Python3
2022-06-08
1
209
题解 | #字符串反转#
while True: try: char1 = input().lower() char2 = char1[::-1]  ...
Python3
2022-06-08
1
232
题解 | #数字颠倒#
while True: try: x = input() y = x[::-1] print(''.jo...
Python3
2022-06-08
0
207
题解 | #字符个数统计#
while True: try: x = input() y = list(set(x)) #对字符进行消重,并将消重后的集合转变为列表  ...
Python3
2022-06-08
6
253
题解 | #提取不重复的整数#
while True: try: n = input() x = n[::-1] #将输入的字符进行倒序排序  ...
Python3
2022-06-08
1
267
题解 | #合并表记录#
while True: try: count = int(input()) dic = {} for i...
Python3
2022-06-08
3
272
题解 | #取近似值#
import math while True: try: n = float(input()) a,b = math.modf(n) #modf内置...
Python3
2022-06-08
1
207
首页
上一页
1
2
3
4
5
下一页
末页