题解列表

筛选

[编程入门]自由下落的距离计算

摘要:解题思路:找规律 借助画图工具来进行找规律100 50 50 25 25 12 .5 12.5.........注意事项:注意要保留两位小数参考代码:m,n=map(int,input().split……

列表去重、排序

摘要: m = int(input()) m_lis = list(map(int, input().split())) #输入 m_lis1 = m_lis[:] #……

编写题解 1160: 出圈

摘要:while True:     try:         n,m =map(int,input().split())          lis = list(range(1,n+1))    ……

编写题解 1159: 偶数求和

摘要:解题思路:注意事项:参考代码:while True:     try:         n,m= map(int,input().split())         ls = [2]      ……

蓝桥杯基础练习VIP-阶乘计算

摘要:解题思路:注意事项:参考代码:def jc(n):    result=1    while n!=1:        result=result*n        n=n-1    return i……