students = {} name = int(input("student name: ")) midterm = int(input("midterm score: ")) finalexam = int(input("final score: ")) project = int(input("project score: ")) students.update({ name: { "ad": name, "ara sınav": midterm, "final notu": finalexam, "proje notu": project } }) name = int(input("student name: ")) midterm = int(input("midterm score: ")) finalexam = int(input("final score: ")) project = int(input("project score: ")) students.update({ name: { "ad": name, "ara sınav": midterm, "final notu": finalexam, "proje notu": project } }) name = int(input("student name: ")) midterm = int(input("midterm score: ")) finalexam = int(input("final score: ")) project = int(input("project score: ")) students.update({ name: { "ad": name, "ara sınav": midterm, "final notu": finalexam, "proje notu": project } }) name = int(input("student name: ")) midterm = int(input("midterm score: ")) finalexam = int(input("final score: ")) project = int(input("project score: ")) students.update({ name: { "ad": name, "ara sınav": midterm, "final notu": finalexam, "proje notu": project } }) name = int(input("student name: ")) midterm = int(input("midterm score: ")) finalexam = int(input("final score: ")) project = int(input("project score: ")) passingGrade = midterm * (0.3) + project * (0.3) + finalexam * (0.4) for student in students: print(passingGrade)