我有一只狗
我有一只狗
全部文章
题解
归档
标签
去牛客网
登录
/
注册
我有一只狗的博客
全部文章
/ 题解
(共46篇)
题解 | #字符串排序#
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
252
题解 | #提取不重复的整数#
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
题解 | #进制转换#
while True: try: sixteen = input() ten = int(sixteen,16) #进制转换,将16进制的转变为10...
Python3
2022-06-07
1
169
题解 | #字符串分隔#
while True: try: zifu = input() if len(zifu) >=8: &...
Python3
2022-06-07
1
230
首页
上一页
1
2
3
4
5
下一页
末页