2837: 年龄与疾病
摘要:解题思路:注意事项:参考代码:n = int(input())l = list(input().split())a = b = c = d = 0for i in l: if 0 <= int(……
优质题解,回归真神的初始途径
摘要:解题思路:注意事项:参考代码:n=int(input())li=list(map(int,input().split()))shul=[0]*4for l in li: if 0<=l<=18:……
2837: 年龄与疾病
摘要:参考代码:n = int(input())
arr = list(map(int, input().split()))
s1, s2, s3, s4 = 0, 0, 0, 0
for i in ……
格式输出问题太基本了基础不扎实
摘要:解题思路:注意事项:加油,每一种格式输出都要回参考代码:n=int(input())##p=[28.9,32.7,45.6,78,35,86.2,27.8,43,56,65]l=list(map(in……
编写题解 2837: 年龄与疾病
摘要:解题思路:1)定义4个count计数器2)输出%:'%.2f%%'%n注意事项:参考代码:n=int(input()) #病人数目
ages=list(map(int,input()……