Question: #In your functions module: #Function Definition and User Input: #Define a non - parameterized function named create _ student. #Display a prompt asking the user

#In your functions module:
#Function Definition and User Input:
#Define a non-parameterized function named create_student.
#Display a prompt asking the user to enter the student's level as either undergrad or grad_student using input().
#Convert the input to lowercase using .lower() to ensure case-insensitivity.
#Processing for Undergraduate Students:
#If the student level entered is 'undergrad' (after converting to lowercase), set the level variable to the inputted student_level.
#Prompt the user to enter the first name, last name, middle name, major, and concentration using input(). Convert each input to lowercase.
#Store the entered values in respective variables('level', 'first_name', 'last_name', 'middle_name', 'major', 'concentration').
#Return a dictionary where keys are level, first_name, last_name, middle_name, major, and concentration. What will your values be? They are right in front of your face.
#Processing for Graduate Students:
#If the student level is 'grad_student' (after converting to lowercase), set the level variable to student_level.
#Prompt the user to enter the first name, last name, middle name, major, concentration, and thesis topic using input(). Convert each input to lowercase.
#Store the entered values in respective variables ('level', 'first_name', 'last_name', 'middle name', 'major', 'concentration', 'thesis_topic').
#Return a dictionary where keys are level, first_name, last_name, middle_name, major, concentration, and thesis_topic. What will your values be? They are right in front of your face.
#If the entered student level is neither 'undergrad' nor 'grad_student', return None.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!