Python‘Dan Anlayanlar Şu Ödev İçin İpucu Verebilirler Mi?
-
hocalar bi el atın lütfen önemli benim için..
eclipsete yazılacak bu program..
_______________
In this homework, you are going to copy the arrays given below. The four array
represent the student names, first midterm grades, second midterm grades and
final grades, respectively. You should already be familiar with those.
name_list = ["ali", "ahmet", "ayse", "fatma", "engin", "isa", "mehmet", "hasan", "sinem", "dodo"]
midterm1_list = [35, 72, 20, 10, 100, 100, 50, 0, 0, 60]
midterm2_list = [75, 46, 10, 20, 30, 30, 60, 100, 80, 90]
final_list = [10, 50, 40, 70, 100, 100, 0, 60, 60, 1000]
Calculate every student’s term grade by using the following weights : %30 for
midterm 1, %30 for midterm 2 and %40 for final exam.
After calculating the term grades, sort the students in descending order in
respect to their term grades, and list them. When listing, print both their names
and term grades.
DO NOT use any sorting function python already supplies. Write your own sorting
code.
_______________