1332: 津津的储蓄计划 摘要:参考代码:estimate = [int(input()) for i in range(12)] #预算 amount = 0 #零花钱 bank = [] flag = True …… 题解列表 2024年03月16日 0 点赞 0 评论 502 浏览 评分:0.0
题解 1332: 津津的储蓄计划 摘要:解题思路:注意事项:参考代码:list1 = [] # 每月预算 for i in range(12): list1.extend(map(int, input().split())) …… 题解列表 2024年03月17日 0 点赞 0 评论 530 浏览 评分:0.0
Py1332-津津的储蓄计划 摘要:参考代码:arr=list(int(input())for_inrange(12))tol=0&nb…… 题解列表 2025年11月08日 0 点赞 0 评论 380 浏览 评分:0.0
Python多行读入、循环处理、break跳出循环 解题思路:注意事项:importsys#读取所有行(直到文件结束)charge=list(map(int,sys.stdin.read().strip().split()))print(charge)参考代码:importsyscharge=list(map(int, 题解列表 2026年05月11日 0 点赞 0 评论 314 浏览 评分:0.0
储蓄简单方法 解题思路:注意事项:参考代码:sum=0list1=[]count=0sum_mom=0flag=1#若不破产flag=1foriinrange(12):#12个月sum=sum+300#零花钱每次都加上300元n=int(input())#输入花销sum-=n#零花钱减花销whilesum>=100 题解列表 2023年11月14日 0 点赞 0 评论 599 浏览 评分:6.0
1332: 津津的储蓄计划(python) 摘要:解题思路:注意事项:参考代码:m = 0 x = 0 month = 1 isTrue = True while True: try: n = int(input(…… 题解列表 2023年02月21日 0 点赞 0 评论 905 浏览 评分:9.9
津津的储蓄计划(python版) 摘要:解题思路:注意事项:参考代码:def progress(x,y): if x<y: return -1 else: less=x-y return…… 题解列表 2024年08月12日 0 点赞 0 评论 653 浏览 评分:10.0