题解列表

筛选

Ikaros-1954:话费计算

摘要:解题思路:简单的乘一下再加上保留1位数即可参考代码:number = int(input())print(round(50 + number * 0.4,1))……

Ikaros-1669:求圆的面积 Python解决

摘要:解题思路:    直接干就行注意事项:不能使用**,不然会出错(评判的时候)参考代码:r = float(input())pi = 3.1415926S = pi * r * rprint(round……

Ikaros-P1000 Python解决

摘要:解题思路:    使用map函数然后输入即可参考代码:number = list(map(int,input().split()))print(number[0] + number[1])……

十二届时间显示题解

摘要:n=int(input())s=n//1000 t=s//3600zt=t%24m=s-t*3600zm=m//60zs=m-zm*60if zt<=10:    zt="0"+str(zt)    ……

简单的a+b题解

摘要:解题思路:注意事项:参考代码:while True:#while True 语句中一定要有结束该循环的break语句,否则会一直循环下去的   try:   #Python 中,用try except……