题解列表

筛选

无聊的星期六

摘要:解题思路:注意事项:参考代码:N=int(input()) for z in range(6,N):     if z % 10 == 6 or z % 10 == 8:         num……

python 2835: 计算书费

摘要:```python prices = [28.9,32.7,45.6,78,35,86.2,27.8,43,56,65] num = list(map(int,input().strip().sp……

python 1098: 陶陶摘苹果

摘要:**没什么好注意的,按题目要求来** ```python a = list(map(int,input().strip().split())) b = int(input().strip()……

python求整数的和与均值

摘要:解题思路:注意事项:参考代码:a = list(map(int,input().split()))while len(a)<=a[0]:    a.extend(map(int,input().spl……

python整数平均值

摘要:解题思路:注意事项:参考代码:while True:    try:        a = int(input())        b = list(map(int,input().strip().s……

python解题方式

摘要:解题思路:注意事项:参考代码:a = []while len(a) < 12:    a.append(float(input()))b = sum(a)/12print(&#39;$%.2f&#39……

python--study||O.o

摘要:参考代码: def main():     n = int(input())     t = dict()     mx = -1     for i in range(n):     &nb

python--study||O.o

摘要:参考代码: def main():     n = int(input())     arr = [int(x) for x in input().split()]     find = in……

1197: 发工资咯(贪心算法)

摘要:核心:票票从大开始扣,数量是最少的代码:while True:     l = [int(x) for x in input().split()]     n = l[0]     if n =……