题解列表
欢迎借鉴,如有错误,望指点
摘要:解题思路:注意事项:参考代码:pi=3.14159def c_l(x,y): z=(pi*y*y*x)/1000 j =20 / z &……
编写题解 2779: 输出绝对值,python超简单
摘要:解题思路:注意事项:参考代码:x=float(input())if x>=0: print(f'{x:.2f}')else : ……
编写题解 2785: 判断一个数能否同时被3和5整除
摘要:解题思路:注意事项:参考代码:n=int(input())if n%3==0 and n%5==0: print("YES")else : &……
Python实现求平均数
摘要:解题思路:输入的分隔符是换行符注意事项:参考代码:i=1b=0.0while(i<=12): c=list(map(float, input().split()))&n……
Python满分代码
摘要:解题思路:python真nb,写个全局变量,然后在函数中直接引用注意事项:参考代码:num=int(input())def f(j,a): i=0 ……