题解列表

筛选

字符串逆序

摘要:解题思路:注意事项:参考代码:n=95859 while True:     n+=1     a=str(n)     b=a[::-1]     if a==b:         pr……

耗的时间有点多

摘要:解题思路:注意事项:参考代码:c=[] for i in range(1000,10000):     a=int(i/100)     b=int(i%100)     if (a+b)**……

个人思路,随便看看吧

摘要:解题思路:学会列表的相关操作很重要注意事项:参考代码:def fun(n):    l1 = [n]    while n != 1:        if n % 2 == 0:           ……

1023——————选择排序

#一行foriinsorted(list(map(int,input().split()))):print(i)#两行n=list(map(int,input().split()))foriinsorted(n):print(i)#三行n=list(map(int,

1092——————A+B for Input-Output Practice

题目:1092:A+BforInput-OutputPractice**题目描述**Yourtaskistocalculatethesumofsomeintegers——翻译(来源百度翻译):你的任务是计算一些整数的和。**输入格式**InputcontainsanintegerNinthefirst