题解列表

筛选

简单python走起 超简单

摘要:解题思路1.设置一个函数判断是否是质数2。先判断各位 然后判断十位数。。。。。注意事项:参考代码:import math def zs(i):     if i%2 == 0:         ……

python 字符串对比

摘要:解题思路:注意事项:参考代码:str1 = input()str2 = input()if len(str1) != len(str2):    print(1)elif len(str1) == l……

蓝桥杯算法训练VIP-JAM计数法(详细解释)

摘要:解题思路:借用了@小哈哈这位兄弟的题解:题目中说“bdfij”与“bdghi”是依次的Jam数字,意思就是两个数相邻只是bdfij < bdghi 然而我们要知道为什么 bdfij < bdghi其实……

简单python走起

摘要:解题思路:注意事项:参考代码:mas=input().split() mas_1=[len(i) for i in mas ] mx=mas_1.index(max(mas_1)) print(……

简单python走起

摘要:解题思路:注意事项:参考代码:def  cc(n):     a=list(str(n))     b=list(str(n))     a.sort(reverse=True)     b.……

简单python走起

摘要:解题思路:注意事项:参考代码:for i in range(100,335):      l=[]      a=i      b=2*i      c=3*i      l.extend(……

Python代码,大道至简

摘要:解题思路:注意事项:参考代码:while True:    n = list(map(int,input().split()))    if n[0] == 0:        exit(0)    ……