摘要:
python入门每日一练,可以提高您的python水平,今天是1月11日,上一课的答案是 a 今天的题目是 a=1 while 1==1: print("while") a+=1 if a==3: break 问:输出结果: a. while b. while while c. while whil 阅读全文
摘要:
python入门每日一练,可以提高您的python水平,今天是1月10日,上一课的答案是 for n in lista: print(n) 今天的题目是 c="a"+123 print(c) 问:输出结果: a. Traceback (most recent call last): File "<s 阅读全文
摘要:
小学一般45人,也有44人的,我们day一个测试平均分程序吧! 先让老师录入数据: a=[] d=0 e=0 for x in range(45): b=int(input("请输入成绩")) a.append(b) 随后算出总分: for c in a: e+=1 d+=c print("平均成绩 阅读全文