Question: Solve this python File content Q1: Write Python code that prints the following menu and performs the selected task. Your code should print the menu

Solve this python

File content
Q1: Write Python code that prints the following menu and performs the selected task. Your code should print the menu repeatedly until the user enter 8. *** ******* ***** **********MENU**** 1. Display the full name of all students. 2. Display the first name and the ID of all students. 3. Display the first name and the gender of all students. 4. Display the first name and the birth date of all students. 5. Display the full name of students whose bom on a specific year. 6. Display the first name and the courses of all students. 7. Display the full name of students whose name start with a specific letter. 8. Exit Please enter your choice: Your code should search about the required data in the text file "students.txt" (uploaded on the elearning) using regular expressions. Each line in this file includes a record of a student as shown below: First_Name Last_Name ID Gender Birth_date Courses Output Sample: -MENU- 1-Display the full name of all students. 2-Display the first name and the ID of all students. 3-Display the first name and the gender of all students. 4-Display the first name and the birth date of all students. 5-Display the full name of students whose born on a specific year. 6-Display the first name and the courses of all students. 7-Display the full name of students whose name start with a specific letter. 8 - Exit Please enter your choice: 1 Farah Ahmad Yara Ababneh Yazan Omar Ali Qudah -MENU- 1-Display the full name of all students. 2-Display the first name and the ID of all students. 3-Display the first name and the gender of all students. 4-Display the first name and the birth date of all students. 5-Display the full name of students whose born on a specific year. 6-Display the first name and the courses of all students. 7-Display the full name of students whose name start with a specific letter. 8-Exit Farah Ahmad 112348 female 30-12-1999 CS102 .CPE211.CIS203. Yara Ababneh 122621 female 14-11-2001 CPE311.EE102.CS101. Yazan Omar 121024 male 22-3-2000 CPE 412 . PHY102.CIS300. Ali Qudah 120543 male 16-6-2001 CS201.CIS203.CPE300.CPE211
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
