Answered step by step
Verified Expert Solution
Question
1 Approved Answer
PYTHON please!! Student name, student number, midterm points, final points and grade are stored in a list as shown below. Write a script which will
PYTHON please!!
Student name, student number, midterm points, final points and grade are stored in a list as shown below. Write a script which will sort the list according to any random criterion determined by the user by using the input command (such as Name, Number, Midterm, Final, Grade). The script should ask the user whether sorting will be in the ascending or descending order. Please write your own sorting script, do not use the sort method or sorted function. Name Ahmet Merve Asli Burak Number 0100130075 0100140176 0100130082 0100150101 Midterm 50 60 80 40 Final 70 75 70 80 Grade 62 69 74 64 my_class = [ ["Ahmet", "6100130075", 50, 70, 62], ["Merve", "6100140176", 60, 75, 69), ["Asli", "6100130082", 80, 70, 74], ["Burak", "6100150101", 40, 80, 64), ]
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started