题解列表
蓝桥杯算法训练VIP-一元三次方程求解(暴力就完事)
摘要:解题思路:注意事项:参考代码:a,b,c,d=map(float,input().split())
x=-100
while x<100:
cnt=0
if abs(a*x**……
蛇形矩阵(for循环依次打印) python代码
摘要:解题思路:注意事项:参考代码:a = int(input())list1 = []list2 = []for i in range(1,a+1): list1.append((1+i)*i//2……
简单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……
2259: 蓝桥杯算法提高-三进制数位和(Python3)
摘要:解题思路:注意事项:参考代码:def turn(n):
res = ''
division = 3 ** 5
while division:
……
蓝桥杯算法训练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(……