(Solved) : Note Please Read Program Cannot Include Lists Arrays Etc Please Use Loops Possible Lesson Q41401118 . . .

Ask the user to enter the number of students in the class. Thereafter ask the user to enter the student names and scores as s

NOTE (PLEASE READ): This program cannot includelists, arrays, etc. Please use while loops if possible, that wasthe lesson pertaining to this subject so I’m pretty sure that whileloops are expected to be in the solution to this program. Theprogram’s outputs should look exactly the same as the examplesdetailed by the picture.

Ask the user to enter the number of students in the class. Thereafter ask the user to enter the student names and scores as shown. Output the name and score of the student with the 2nd lowest score. NOTE: You may assume all students have distinct scores between 0 and 100 inclusive and there are at least 2 students NOTE: You may only use what has been taught in class so far for this assignment. You are not allowed to use more advanced topics like lists, functions, dictionaries etc for this assignment ==================== RESTART: C:UsersMTSSDesktoptest.py ==================== Enter number of students: 3 Please enter student 1 name: ishan Please enter student 1 score: 10 Please enter student 2 name: behoora Please enter student 2 score: 20 Please enter student 3 name: adam Please enter student 3 score: 30 2nd lowest student is behoora with score 20 >>> ==================== RESTART: C:UsersMTSS Desktoptest.py ==================== Enter number of students: 4 Please enter student 1 name: adam Please enter student 1 score: 100 Please enter student 2 name: smith Please enter student 2 score: 90 Show transcribed image text Ask the user to enter the number of students in the class. Thereafter ask the user to enter the student names and scores as shown. Output the name and score of the student with the 2nd lowest score. NOTE: You may assume all students have distinct scores between 0 and 100 inclusive and there are at least 2 students NOTE: You may only use what has been taught in class so far for this assignment. You are not allowed to use more advanced topics like lists, functions, dictionaries etc for this assignment ==================== RESTART: C:UsersMTSSDesktoptest.py ==================== Enter number of students: 3 Please enter student 1 name: ishan Please enter student 1 score: 10 Please enter student 2 name: behoora Please enter student 2 score: 20 Please enter student 3 name: adam Please enter student 3 score: 30 2nd lowest student is behoora with score 20 >>> ==================== RESTART: C:UsersMTSS Desktoptest.py ==================== Enter number of students: 4 Please enter student 1 name: adam Please enter student 1 score: 100 Please enter student 2 name: smith Please enter student 2 score: 90

Expert Answer


Answer to NOTE (PLEASE READ): This program cannot include lists, arrays, etc. Please use while loops if possible, that was the le…