题解列表
整数序列的元素最大跨度值(max,min)
摘要:解题思路:注意事项:参考代码:n = int(input())l = list(input().split())t = [int(i) for i in l]print(max(t) - min(t)……
自定义函数求一元二次方程
摘要:解题思路:注意事项:参考代码:import cmathdef greater_p(a,b,c): p = b**2-4*a*c x1 = (-b + cmath.sqrt(p)) / (2……
模拟计算器(if else)
摘要:解题思路:注意事项:参考代码:l = input().split()a = int(l[0])b = int(l[1])if l[2] == '+': print(a+b)eli……
python方法解决
摘要:解题思路:注意事项:参考代码:import mathl = input().split()s = 0if l[1] == 'y': s = 5a = int(l[0])if a ……