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 nonparameterized function named createstudent.
#Display a prompt asking the user to enter the student's level as either undergrad or gradstudent using input
#Convert the input to lowercase using lower to ensure caseinsensitivity.
#Processing for Undergraduate Students:
#If the student level entered is 'undergrad' after converting to lowercase set the level variable to the inputted studentlevel.
#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 variableslevel 'firstname', 'lastname', 'middlename', 'major', 'concentration'
#Return a dictionary where keys are level, firstname, lastname, middlename, 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 'gradstudent' after converting to lowercase set the level variable to studentlevel.
#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 'firstname', 'lastname', 'middle name', 'major', 'concentration', 'thesistopic'
#Return a dictionary where keys are level, firstname, lastname, middlename, major, concentration, and thesistopic. What will your values be They are right in front of your face.
#If the entered student level is neither 'undergrad' nor 'gradstudent', return None.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
