python) class parameter
class student: count = 0 def __init__(self, name, korean, english, math, science): self.name = name self.korean = korean self.math = math self.english = english self.science = science student.count += 1 print("{}번째 학생이 생성됨".format(student.count)) students = [ student("윤인성", 87,98,88,95), student("연하진",92,98,96,98), student("구지연",98,96,90,89), student("나선주",88,86,64,87), student("윤아린",98,99,78,80..
2024. 10. 26.