[Python] 학생성적 평균 프로그램
#방식 (1) : c언어 비슷한 구조 name_list = ['Kim', 'Lee', 'Park'] kor = [ 100, 80, 95 ] math = [ 94, 79, 88 ] eng = [ 60, 90, 55 ] total_info = [ name_list, kor, math, eng ] print(total_info[0][0] ) print(total_info[0][1] ) print(total_info[0][2] ) sum_kor = 0 sum_math = 0 sum_eng = 0 for i in range(0, 3, 1): sum_kor = sum_kor + total_info[1][i] sum_math = sum_math + total_info[2][i] sum_eng = sum_eng + t..
2021. 2. 26.