源程序: print("请输入一串字符(包含大小写字母、数字和其他字符):")str1 = input()upp_num = 0low_num = 0digit = 0other = 0fo
源程序: m = 1000n = 1000while True: if m % 7 == 3 and m % 5 == 2 and m % 3 == 1: print(m) break if n % 7 == 3 and n % 5 == 2 and
汇编语言 设有一个数组存放学生的成绩(0100),编制一个子程序统计059分,60~69分, 70~79分, 80~89分,90~100分的人数
源程序: height = 80s = height # 球经过的全部路径长度t = str(height) + "+"for i in range(9): s = s + height t = t + str(height) + "+" height = height / 2print(t.str
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号