题解列表

筛选

不懂可评论

摘要:解题思路:注意事项:参考代码:a,b,c=map(int,input().split()) deter=b*b-4*a*c x1=(-b+deter**0.5)/2*a x2=(-b-deter……

不懂可评论

摘要:解题思路:注意事项:参考代码:year=int(input()) if((year%4==0)and(year%100!=0)or(year%400==0)):     print("Y") e……

不懂可评论

摘要:解题思路:注意事项:参考代码:x=int(input()) for pen4 in range(x//4,-1,-1):#优先买4元的笔,开始循环递减到0结束     remaining=x-pe……

不懂可评论

摘要:解题思路:注意事项:参考代码:days= ['Monday', 'Tuesday', 'Wednesday', 'Thursday', ……

不懂可评论

摘要:解题思路:注意事项:参考代码:luggage=float(input()) if luggage<=20:     print("%.2f"%(luggage*1.68)) else:    ……

不懂可评论

摘要:解题思路:注意事项:参考代码:t=int(input()) if 25<=t<=30:     print("ok!") else:     print("no!")……

不懂可评论

摘要:解题思路:注意事项:参考代码:num=list(map(int,input().split())) num.sort() for i in num:     print(i,end=" ")……

不懂评论简化

摘要:解题思路:注意事项:参考代码:a=list(map(int,input().split())) for i in range(5):     a[i]//=3     up=4 if(i==0)……

不懂可评论

摘要:解题思路:注意事项:参考代码:#简易 a=list(map(int,input().strip().split())) a[4]+=a[0]//3 a[1]+=a[0]//3 a[0]//……