案例:有13个学生,姓名自行增多。有三门考试语文,数学和法语,随机为那11个学生生成分数【50-100】

字典的案例演示,字典案例演示

案例:有十二个学生,姓名自行增添。有三门考试语文,数学和波兰语,随机为那13个学生生成分数【50-100】

须求:打字与印刷一张成绩排行表。

数据存款和储蓄格式如下:

import random

# 千帆竞发化学生的主干音讯

dic_student_info = {95001: “王一”, 95002: “胡二”, 95003:
“张三”, 95004: “李四”, 95005: “赵五”,

                    95006: “马六”, 95007: “杨七”, 95008:
“刘八”, 95008: “孙九”, 95010: “陈十”}

# 转移学生战绩

student_result = []

for i in range(len(dic_student_info)):

    temp_result = []

    for j in range(3):

        temp_result.append(random.randint(50,100))

        # 添加到student_result中

*   * student_result.append(temp_result)

# 打字与印刷生成的大成

print(student_result)

 

 

# 生成总分的list

total_result = []

for i in student_result:

    total_result.append(sum(i))

 

# 把总分倒叙排列

total_result.sort(reverse=True)

print(total_result)

 

# 结合存款和储蓄结构

total_student_result = {}

# 赢得学生音信的key

student_sno = list(dic_student_info)

 

 

# 遍历

index = 0

for i in student_sno:

    temp_total = {}

    temp_total[“姓名”] = dic_student_info[i]

    temp_total[“明细”] = list(student_result)[index]

    temp_total[“总分”] = sum(list(student_result)[index])

    temp_total[“名次”] =
total_result.index(sum((student_result)[index])) + 1

    total_student_result[i] = temp_total

    index += 1

for i in total_student_result:

    print(i, “:”, total_student_result[i])

 

#
打字与印刷一张战绩倒叙排行表【排名,学号,姓名,语文,数学,印度语印尼语,总分,均分】

print(“\n \n
###########################培养总结表##############################”)

print(“名次     学号       姓名       语文    数学    英语     总分   
均分”
)

print(“=====================================================================”)

for i in range(len(dic_student_info)):

    for j in total_student_result:

        if total_student_result[j][“名次”] == i + 1:

            print(i+1, end=“\t \t”)

            print(j, end=“\t \t”)

            print(total_student_result[j][“姓名”], end=“\t
\t”
)

            print(total_student_result[j][“明细”][0],
end=“\t \t”)

            print(total_student_result[j][“明细”][1],
end=“\t \t”)

            print(total_student_result[j][“明细”][2],
end=“\t \t”)

            print(total_student_result[j][“总分”], end=“\t
\t”
)

            print(“%.2f” %
(total_student_result[j][“总分”]/3))

            break

        else:continue

print(“=====================================================================”)

实施结果:

C:\python\python.exe C:/python/demo/file3.py

[[77, 57, 61], [64, 77, 65], [88, 88, 83], [95, 75, 100], [57,
79, 88], [59, 90, 90], [88, 68, 80], [59, 79, 89], [58, 55,
73]]

[270, 259, 239, 236, 227, 224, 206, 195, 186]

95001 : {‘姓名’: ‘王一’, ‘明细’: [77, 57, 61], ‘总分’: 195, ‘名次’: 8}

95002 : {‘姓名’: ‘胡二’, ‘明细’: [64, 77, 65], ‘总分’: 206, ‘名次’: 7}

95003 : {‘姓名’: ‘张三’, ‘明细’: [88, 88, 83], ‘总分’: 259, ‘名次’: 2}

95004 : {‘姓名’: ‘李四’, ‘明细’: [95, 75, 100], ‘总分’: 270, ‘名次’:
1}

95005 : {‘姓名’: ‘赵五’, ‘明细’: [57, 79, 88], ‘总分’: 224, ‘名次’: 6}

95006 : {‘姓名’: ‘马六’, ‘明细’: [59, 90, 90], ‘总分’: 239, ‘名次’: 3}

95007 : {‘姓名’: ‘杨七’, ‘明细’: [88, 68, 80], ‘总分’: 236, ‘名次’: 4}

95008 : {‘姓名’: ‘孙九’, ‘明细’: [59, 79, 89], ‘总分’: 227, ‘名次’: 5}

95010 : {‘姓名’: ‘陈十’, ‘明细’: [58, 55, 73], ‘总分’: 186, ‘名次’: 9}

 

 

 ###########################成就计算表##############################

名次     学号       姓名       语文    数学    英语     总分    均分

=====================================================================

1                 95004                 李四                 95        
        75                 100                 270                 90.00

2                 95003                 张三                 88        
        88                 83                 259                 86.33

3                 95006                 马六                 59        
        90                 90                 239                 79.67

4                 95007                 杨七                 88        
        68                 80                 236                 78.67

5                 95008                 孙九                 59        
        79                 89                 227                 75.67

6                 95005                 赵五                 57        
        79                 88                 224                 74.67

7                 95002                 胡二                 64        
        77                 65                 206                 68.67

8                 95001                 王一                 77        
        57                 61                 195                 65.00

9                 95010                 陈十                 58        
        55                 73                 186                 62.00

 

Process finished with exit code 0

案例:有13个学生,姓名自行增加。有三门考试语文,数学和葡萄牙语,随机为那13个学生生成分数【50-拾0】
需…

案例0一:生成0-10时期多个不对等的数

set集结综合案例,set会集案例

案例01:生成0-10里面八个不对等的数

措施一:使用list会集达成

import random

list01 = []

for i in range(100):

    num01 = random.randint(0, 10)

    if num01 not in list01:

        list01.append(num01)

    if len(list01)==5:

        break

print(list01)

 

方法二:使用set群集达成,自动清除重复

import random

number_set = set()

while len(number_set) < 5:

    number_set.add(random.randint(0,10))

 

print(number_set)

 

施行结果:

C:\python\python.exe C:/python/demo/file3.py

{0, 1, 6, 9, 10}

 

Process finished with exit code 0

 

案例0贰:有十一个学生,姓名自行增加。有三门考试:语文、数学和保加克赖斯特彻奇语,随机为那十名学童生成分数【50-100】,必要每壹门学科中具备学员分数无法再一次

需求:

一)总计出每门科目标前3名和后三名【包罗姓名和切实分数】

二)总计出总分的前3名和后三名

3)在(50-100)的数字中,这一个数字未有在三门的分数中冒出过

 

方法01:

import random

student_name = [“王一”, “胡二”, “张三”, “李四”,
“赵五”, “马六”, “杨七”, “刘八”, “孙九”, “陈十”]

student_result = []  # 积攒全部学员的大成明细

chinese_result = set()  # 存款和储蓄语文分数

maths_result = set()  # 积存数学分数

english_result = set()  # 仓库储存外语分数

# 始于生成一个语文分数

for i in range(len(student_name)):

    while True:

        temp = random.randint(50, 100)

        if temp not in chinese_result:

            chinese_result.add(temp)

            break

        else:

            continue

    # 开班生成二个数学分数

*   * while True:

        temp = random.randint(50, 100)

        if temp not in maths_result:

            maths_result.add(temp)

            break

        else:

            continue

    # 千帆竞发生成二个阿拉伯语分数

*   * while True:

        temp = random.randint(50, 100)

        if temp not in english_result:

            english_result.add(temp)

            break

        else:

            continue

 

print(chinese_result)

print(maths_result)

print(english_result)

 

方法02:

对于同样的操作能够抽象成二个函数,在经过get调用这一个函数就能够

import random

def get_result(result:set):

    while True:

        temp = random.randint(50, 100)

        if temp not in result:

            result.add(temp)

            break

        else:

            continue

    return result

 

student_name = [“王一”, “胡二”, “张三”, “李四”,
“赵五”, “马六”, “杨七”, “刘八”, “孙九”, “陈十”]

student_result = []  # 仓库储存全数学生的战绩明细

chinese_result = set()  # 积攒语文分数

maths_result = set()  # 积攒数学分数

english_result = set()  # 存款和储蓄外语分数

 

# 初始调换分数

for i in range(len(student_name)):

    # 初叶生成叁个语文分数

*   * chinese_result = get_result(chinese_result)

    # 开始生成三个数学分数

*   * maths_result = get_result(maths_result)

    # 始产生成三个西班牙语分数

*   * english_result = get_result(english_result)

 

print(student_name)

print(chinese_result)

print(maths_result)

【金沙注册送58】set集结束案件例,set集结综合案例。print(english_result)

 

# 把四个set集合转为list

chinese_result = list(chinese_result)

maths_result = list(maths_result)

english_result = list(english_result)

 

# 变动成绩明细

for i in range(len(student_name)):

    temp_list = []

    temp_list.append(chinese_result[i])

    temp_list.append(maths_result[i])

    temp_list.append(english_result[i])

    student_result.append(temp_list)

 

print(chinese_result)

print(maths_result)

print(english_result)

print(student_result)

 

#
需求一:计算出每门课程的前叁名和后三名【包罗姓名和实际分数】以语文战绩为例

chinese_one = max(chinese_result)

print(“语文头名:姓名:%s,分数:%d”
%(student_name[chinese_result.index(chinese_one)],chinese_one))

chinese_two = sorted(chinese_result)[8]

print(“语文第1名:姓名:%s,分数:%d”
%(student_name[chinese_result.index(chinese_two)],chinese_two))

chinese_three = sorted(chinese_result)[7]

print(“语文第二名:姓名:%s,分数:%d”
%(student_name[chinese_result.index(chinese_three)],chinese_three))

 

chinese_last_one = sorted(chinese_result)[0]

print(“语文尾数头名:姓名:%s,分数:%d”
%(student_name[chinese_result.index(chinese_last_one)],chinese_last_one))

chinese_last_two = sorted(chinese_result)[1]

print(“语文倒数第3名:姓名:%s,分数:%d”
%(student_name[chinese_result.index(chinese_last_two)],chinese_last_two))

chinese_last_three = sorted(chinese_result)[2]

print(“语文尾数第3名:姓名:%s,分数:%d”
%(student_name[chinese_result.index(chinese_last_three)],chinese_last_three))

# 须要二:总计出总分的前3名和后三名

student_total_result = []

for i in student_result:

    student_total_result.append(sum(i))

print(student_total_result)

 

# 打字与印刷前三名

total_one = sorted(student_total_result)[9]  # 收获头名分数

total_one_index = student_total_result.index(total_one)  #
获得头名分数的目录

# 打字与印刷第一名的全名和总分均分

print(“总分头名【姓名:%s,分数:%d,均分:%.二f】”
%(student_name[total_one_index],total_one, total_one/3))

# 打字与印刷头名的分数明细

print(“\t\t 语文:%d,数学:%d,英语:%d” %
(student_result[total_one_index][0],
student_result[total_one_index][1],
student_result[total_one_index][2]))

total_two = sorted(student_total_result)[8]

print(“总分第1名【姓名:%s,分数:%d,均分:%.二f】”
%(student_name[student_total_result.index(total_two)],total_two,
total_two/3))

total_three = sorted(student_total_result)[7]

print(“总分第壹名【姓名:%s,分数:%d,均分:%.二f】”
%(student_name[student_total_result.index(total_three)],total_three,
total_three/3))

 

# 须求三:在(50-100)的数字中,那多少个数字尚未在三门的分数中出现过

total_number = set()

for i in range(50, 101):

    total_number.add(i)

 

had_number = (set(chinese_result) | set(maths_result) |
set(english_result))

print(“未出现的数字有:”, (total_number-had_number))

 

实施结果:

C:\python\python.exe C:/python/demo/file3.py

[‘王一’, ‘胡二’, ‘张三’, ‘李四’, ‘赵五’, ‘马六’, ‘杨七’, ‘刘八’,
‘孙九’, ‘陈十’]

{66, 80, 83, 51, 52, 86, 54, 55, 60, 94}

{98, 69, 74, 75, 77, 82, 52, 89, 92, 95}

{96, 66, 71, 72, 85, 88, 92, 61, 95, 63}

[66, 80, 83, 51, 52, 86, 54, 55, 60, 94]

[98, 69, 74, 75, 77, 82, 52, 89, 92, 95]

[96, 66, 71, 72, 85, 88, 92, 61, 95, 63]

[[66, 98, 96], [80, 69, 66], [83, 74, 71], [51, 75, 72], [52,
77, 85], [86, 82, 88], [54, 52, 92], [55, 89, 61], [60, 92,
95], [94, 95, 63]]

语文头名:姓名:陈10,分数:九四

语文第3名:姓名:马6,分数:八陆

语文第一名:姓名:张三,分数:八三

语文倒数第一名:姓名:李4,分数:51

语文尾数第二名:姓名:赵伍,分数:5二

语文倒数第3名:姓名:杨柒,分数:5四

[260, 215, 228, 198, 214, 256, 198, 205, 247, 252]

总分头名【姓名:王壹,分数:260,均分:86.六7】

 语文:66,数学:98,英语:96

总分第三名【姓名:马陆,分数:256,均分:八5.3叁】

总分第3名【姓名:陈拾,分数:25二,均分:八四.00】

未出现的数字有: {50, 五三, 56, 五7, 5八, 5玖, 62, 6④, 六五, 陆柒, 6捌, 70, 73,
7陆, 7捌, 79, 八1, 84, 87, 90, 9一, 玖三, 97, 9玖, 100}

 

Process finished with exit code 0

 

案例 0一 :生成 0 -十之间陆个不对等的数 方法 一 :使用 list 集结落成 import random list0一 =
[] for i in range(100): num0…

急需:打字与印刷一张战绩排行表。

措施一:使用list群集落成

多少存款和储蓄格式如下:

import random

import random

list01 = []

# 初叶化学生的为主消息

for i in range(100):

dic_student_info = {95001: “王一”, 95002: “胡二”, 95003:
“张三”, 95004: “李四”, 95005: “赵五”,

    num01 = random.randint(0, 10)

                    95006: “马六”, 95007: “杨七”, 95008:
“刘八”, 95008: “孙九”, 95010: “陈十”}

    if num01 not in list01:

# 变动学生战绩

        list01.append(num01)

student_result = []

    if len(list01)==5:

for i in range(len(dic_student_info)):

        break

    temp_result = []

print(list01)

    for j in range(3):

 

        temp_result.append(random.randint(50,100))

方法贰:使用set群集达成,自动清除重复

        # 添加到student_result中

import random

*   * student_result.append(temp_result)

number_set = set()

# 打字与印刷生成的实际业绩

while len(number_set) < 5:

print(student_result)

    number_set.add(random.randint(0,10))

 

 

 

print(number_set)

# 生成总分的list

 

total_result = []

实行结果:

for i in student_result:

C:\python\python.exe C:/python/demo/file3.py

    total_result.append(sum(i))

{0, 1, 6, 9, 10}

 

 

# 把总分倒叙排列

Process finished with exit code 0

total_result.sort(reverse=True)

 

print(total_result)

案例0二:有11个学生,姓名自行增加。有三门考试:语文、数学和罗马尼亚(Romania)语,随机为那十名学生生成分数【50-拾0】,必要每1门科目中全数学目生数不能够重复

 

需求:

# 整合存款和储蓄结构

壹)总计出每门课程的前3名和后三名【包罗姓名和切实分数】

total_student_result = {}

二)总结出总分的前叁名和后三名

# 获得学生消息的key

三)在(50-100)的数字中,那多少个数字尚未在三门的分数中冒出过

student_sno = list(dic_student_info)

 

 

方法01:

 

import random

# 遍历

student_name = [“王一”, “胡二”, “张三”, “李四”,
“赵五”, “马六”, “杨七”, “刘八”, “孙九”, “陈十”]

index = 0

student_result = []  # 存款和储蓄全部学员的实际业绩明细

for i in student_sno:

chinese_result = set()  # 储存语文分数

    temp_total = {}

maths_result = set()  # 存款和储蓄数学分数

    temp_total[“姓名”] = dic_student_info[i]

english_result = set()  # 储存外语分数

    temp_total[“明细”] = list(student_result)[index]

# 初叶生成三个语文分数

    temp_total[“总分”] = sum(list(student_result)[index])

for i in range(len(student_name)):

    temp_total[“名次”] =
total_result.index(sum((student_result)[index])) + 1

    while True:

    total_student_result[i] = temp_total

        temp = random.randint(50, 100)

    index += 1

        if temp not in chinese_result:

for i in total_student_result:

            chinese_result.add(temp)

    print(i, “:”, total_student_result[i])

            break

 

        else:

#
打字与印刷一张成绩倒叙排行表【名次,学号,姓名,语文,数学,罗马尼亚语,总分,均分】

            continue

print(“\n \n
###########################成就总结表##############################”)

    # 开首生成1个数学分数

print(“名次     学号       姓名       语文    数学    英语     总分   
均分”
)

*   * while True:

print(“=====================================================================”)

        temp = random.randint(50, 100)

for i in range(len(dic_student_info)):

        if temp not in maths_result:

    for j in total_student_result:

            maths_result.add(temp)

        if total_student_result[j][“名次”] == i + 1:

            break

            print(i+1, end=“\t \t”)

        else:

            print(j, end=“\t \t”)

            continue

            print(total_student_result[j][“姓名”], end=“\t
\t”
)

    # 伊始生成三个波兰语分数

            print(total_student_result[j][“明细”][0],
end=“\t \t”)

*   * while True:

            print(total_student_result[j][“明细”][1],
end=“\t \t”)

        temp = random.randint(50, 100)

            print(total_student_result[j][“明细”][2],
end=“\t \t”)

        if temp not in english_result:

            print(total_student_result[j][“总分”], end=“\t
\t”
)

            english_result.add(temp)

            print(“%.2f” %
(total_student_result[j][“总分”]/3))

            break

            break

        else:

        else:continue

            continue

print(“=====================================================================”)

 

试行结果:

print(chinese_result)

C:\python\python.exe C:/python/demo/file3.py

print(maths_result)

[[77, 57, 61], [64, 77, 65], [88, 88, 83], [95, 75, 100], [57,
79, 88], [59, 90, 90], [88, 68, 80], [59, 79, 89], [58, 55,
73]]

print(english_result)

[270, 259, 239, 236, 227, 224, 206, 195, 186]

 

95001 : {‘姓名’: ‘王一’, ‘明细’: [77, 57, 61], ‘总分’: 195, ‘名次’: 8}

方法02:

95002 : {‘姓名’: ‘胡二’, ‘明细’: [64, 77, 65], ‘总分’: 206, ‘名次’: 7}

对于同样的操作可以抽象成2个函数,在经过get调用那几个函数就可以

95003 : {‘姓名’: ‘张三’, ‘明细’: [88, 88, 83], ‘总分’: 259, ‘名次’: 2}

import random

95004 : {‘姓名’: ‘李四’, ‘明细’: [95, 75, 100], ‘总分’: 270, ‘名次’:
1}

def get_result(result:set):

95005 : {‘姓名’: ‘赵五’, ‘明细’: [57, 79, 88], ‘总分’: 224, ‘名次’: 6}

    while True:

95006 : {‘姓名’: ‘马六’, ‘明细’: [59, 90, 90], ‘总分’: 239, ‘名次’: 3}

        temp = random.randint(50, 100)

95007 : {‘姓名’: ‘杨七’, ‘明细’: [88, 68, 80], ‘总分’: 236, ‘名次’: 4}

        if temp not in result:

95008 : {‘姓名’: ‘孙九’, ‘明细’: [59, 79, 89], ‘总分’: 227, ‘名次’: 5}

            result.add(temp)

95010 : {‘姓名’: ‘陈十’, ‘明细’: [58, 55, 73], ‘总分’: 186, ‘名次’: 9}

            break

 

        else:

 

            continue

 ###########################实绩计算表##############################

    return result

名次     学号       姓名       语文    数学    英语     总分    均分

 

=====================================================================

student_name = [“王一”, “胡二”, “张三”, “李四”,
“赵五”, “马六”, “杨七”, “刘八”, “孙九”, “陈十”]

1                 95004                 李四                 95        
        75                 100                 270                 90.00

student_result = []  # 储存全部学员的大成明细

2                 95003                 张三                 88        
        88                 83                 259                 86.33

chinese_result = set()  # 存款和储蓄语文分数

3                 95006                 马六                 59        
        90                 90                 239                 79.67

maths_result = set()  # 积累数学分数

4                 95007                 杨七                 88        
        68                 80                 236                 78.67

english_result = set()  # 仓库储存外语分数

5                 95008                 孙九                 59        
        79                 89                 227                 75.67

 

6                 95005                 赵五                 57        
        79                 88                 224                 74.67

# 初叶转换分数

7                 95002                 胡二                 64        
        77                 65                 206                 68.67

for i in range(len(student_name)):

8                 95001                 王一                 77        
        57                 61                 195                 65.00

    # 起来生成3个语文分数

9                 95010                 陈十                 58        
        55                 73                 186                 62.00

*   * chinese_result = get_result(chinese_result)

 

    # 始于生成3个数学分数

Process finished with exit code 0

*   * maths_result = get_result(maths_result)

    # 开班生成三个意国语分数

*   * english_result = get_result(english_result)

 

print(student_name)

print(chinese_result)

print(maths_result)

print(english_result)

 

# 把多个set集合转为list

chinese_result = list(chinese_result)

maths_result = list(maths_result)

english_result = list(english_result)

 

# 变迁战注脚细

for i in range(len(student_name)):

    temp_list = []

    temp_list.append(chinese_result[i])

    temp_list.append(maths_result[i])

    temp_list.append(english_result[i])

    student_result.append(temp_list)

 

print(chinese_result)

print(maths_result)

print(english_result)

print(student_result)

 

#
需求壹:总结出每门科目的前三名和后3名【包含姓名和现实性分数】以语文成绩为例

chinese_one = max(chinese_result)

print(“语文头名:姓名:%s,分数:%d”
%(student_name[chinese_result.index(chinese_one)],chinese_one))

chinese_two = sorted(chinese_result)[8]

print(“语文第3名:姓名:%s,分数:%d”
%(student_name[chinese_result.index(chinese_two)],chinese_two))

chinese_three = sorted(chinese_result)[7]

print(“语文第1名:姓名:%s,分数:%d”
%(student_name[chinese_result.index(chinese_three)],chinese_three))

 

chinese_last_one = sorted(chinese_result)[0]

print(“语文尾数头名:姓名:%s,分数:%d”
%(student_name[chinese_result.index(chinese_last_one)],chinese_last_one))

chinese_last_two = sorted(chinese_result)[1]

print(“语文尾数第二名:姓名:%s,分数:%d”
%(student_name[chinese_result.index(chinese_last_two)],chinese_last_two))

chinese_last_three = sorted(chinese_result)[2]

print(“语文倒数第二名:姓名:%s,分数:%d”
%(student_name[chinese_result.index(chinese_last_three)],chinese_last_three))

#
须求二:总结出总分的前三名和后3名

student_total_result = []

for i in student_result:

    student_total_result.append(sum(i))

print(student_total_result)

 

# 打字与印刷前3名

total_one = sorted(student_total_result)[9]  # 获取第一名分数

total_one_index = student_total_result.index(total_one)  #
获得头名分数的目录

# 打字与印刷第一名的全名和总分均分

print(“总分头名【姓名:%s,分数:%d,均分:%.二f】”
%(student_name[total_one_index],total_one, total_one/3))

# 打印头名的分数明细

print(“\t\t 语文:%d,数学:%d,英语:%d” %
(student_result[total_one_金沙注册送58 ,index][0],
student_result[total_one_index][1],
student_result[total_one_index][2]))

total_two = sorted(student_total_result)[8]

print(“总分第叁名【姓名:%s,分数:%d,均分:%.贰f】”
%(student_name[student_total_result.index(total_two)],total_two,
total_two/3))

total_three = sorted(student_total_result)[7]

print(“总分第一名【姓名:%s,分数:%d,均分:%.二f】”
%(student_name[student_total_result.index(total_three)],total_three,
total_three/3))

 

#
急需3:在(50-十0)的数字中,这个数字未有在三门的分数中冒出过

total_number = set()

for i in range(50, 101):

    total_number.add(i)

 

had_number = (set(chinese_result) | set(maths_result) |
set(english_result))

print(“未出现的数字有:”, (total_number-had_number))

 

实践结果:

C:\python\python.exe C:/python/demo/file3.py

[‘王一’, ‘胡二’, ‘张三’, ‘李四’, ‘赵五’, ‘马六’, ‘杨七’, ‘刘八’,
‘孙九’, ‘陈十’]

{66, 80, 83, 51, 52, 86, 54, 55, 60, 94}

{98, 69, 74, 75, 77, 82, 52, 89, 92, 95}

{96, 66, 71, 72, 85, 88, 92, 61, 95, 63}

[66, 80, 83, 51, 52, 86, 54, 55, 60, 94]

[98, 69, 74, 75, 77, 82, 52, 89, 92, 95]

[96, 66, 71, 72, 85, 88, 92, 61, 95, 63]

[[66, 98, 96], [80, 69, 66], [83, 74, 71], [51, 75, 72], [52,
77, 85], [86, 82, 88], [54, 52, 92], [55, 89, 61], [60, 92,
95], [94, 95, 63]]

语文第一名:姓名:陈10,分数:九4

语文第一名:姓名:马6,分数:8六

语文第二名:姓名:张三,分数:八3

语文倒数头名:姓名:李四,分数:5一

语文尾数第二名:姓名:赵5,分数:52

语文倒数第3名:姓名:杨7,分数:5四

[260, 215, 228, 198, 214, 256, 198, 205, 247, 252]

总分头名【姓名:王一,分数:260,均分:八陆.陆柒】

 语文:66,数学:98,英语:96

总分第3名【姓名:马陆,分数:256,均分:八伍.3叁】

总分第一名【姓名:陈拾,分数:25二,均分:八4.00】

未出现的数字有: {50, 5叁, 5陆, 五柒, 5八, 59, 6二, 6四, 陆五, 67, 6八, 70, 73,
7六, 7八, 7九, 捌壹, 8四, 八七, 90, 九1, 玖三, 九七, 9玖, 100}

 

Process finished with exit code 0

 

相关文章

网站地图xml地图