题解列表

筛选

DNA【题解】

摘要:参考代码:a,b=map(int,input().strip().split())print(a,b)'''空格个数'''space=0'&#3……

python, 很简单

摘要:解题思路:注意事项:参考代码:print('**************************')print('Hello World!')print('**……

水仙花数简单理解版

摘要:解题思路:理清题意,水仙花数是三位数的注意事项:太简单了参考代码:for i in range(100,999):    a = (i//100)    b =(i//10)%10    c = i%……

python简单易懂;求指定数字相同的数的个数

解题思路:用列表遍历用if判断出有用的数据把数据放到之前设置的空变量输出注意事项:无,都是基础参考代码:n=int(input());u=0;s=list(map(int,input().split()));w=int(input())foriins:ifw==i:u+=1print(u)

python 简单易懂的求平均年龄-题解

摘要:解题思路:  用for循环来输入注意事项: 输入的是个整数(int)参考代码: n = int(input());s=k=0for i in range(n):    x = int(input())……

2793: 点和正方形的关系

摘要:解题思路:注意事项:参考代码:x,y = map(int,input().strip().split())if (x > 1 or x < -1) or (y > 1 or y < -1):    p……

编写题解:数的读法【Python】

摘要:解题思路:每四位分开读,具体见代码和注释参考代码:d = {&#39;1&#39;:&#39;yi&#39;, &#39;2&#39;:&#39;er&#39;, &#39;3&#39;:&#39;s……