首先要处理的excel表为
代码写作的目的为:根据各个班级的分数进行评选
例如全部一百分就评为优秀班级。卫生没有扣分的就评为优秀卫生班级,
python新手,代码写的不够优秀简洁,请各位大佬批评指教,谢谢。
import openpyxl
import pyperclip
import os
import time
chegnhao=""#需要评选的称号
id=""
manfenbanjis=""
losescorelist=[]
classscores=''
allclasslist=[]
def ceping():
kaiguan = True
print("请输入你要评的班级称号:")
chegnhao=input()
print("请输入考核标准,需要那个满分就在下面输入,请用小数点隔开")
print(classroom)
id=input()
idlist=id.split(".")
for i in idlist:
for j in range(3,maxrow+1):
if (sh.cell(row=j+1, column