Array_student = [Joe, Peter, Andy, Tom, Pat]
Array_marks = [14, 9, 6, 8, 12]
Find the highest marks in the array and print the name of the student with the highest marks.
Without using any function such as max().
Array_student = [Joe, Peter, Andy, Tom, Pat]
Array_marks = [14, 9, 6, 8, 12]
Find the highest marks in the array and print the name of the student with the highest marks.
Without using any function such as max().
Copyright © 2021 Jogjafile Inc.
You should use {} dict where the student name will be the key and the marks will be the value and then use sorting and take the first item of the new list