Question: Need help with exercise, please. This is an accumulative exercise that need to use (if, for, while, user input, def, Classes __init__) all basic coding.

Need help with exercise, please.

This is an accumulative exercise that need to use (if, for, while, user input, def,

Classes __init__) all basic coding. no def main(), or __name__, __repr__, Dunder or import. only basic code steps.

#For this assignment, need to submit a Python program that gathers information about instructors and students according to the rules provided:

  • What type of individual we're dealing with (instructor or student)
  • If the individual is a student, we need to get their Student ID (this is required, and must be a number that is 7 or less digits long)
  • We also need to obtain their program of study (this is required)
  • If the individual is an instructor, we need to get their Instructor ID (this is required, and must be a number that is 5 or less digits long)
  • We also need to obtain the name of the last institution they graduated from (this is required) and highest degree earned (this is required)
  • The individual's name (this is required, and must be primarily comprised of upper- and lower-case letters. It also cannot contain any of the following characters: ! " @ # $ % ^ & * ( ) _ = + , < > / ? ; : [ ] { } \ ).
  • The individual's email address(this is required, and must be primarily comprised of alphanumeric characters.It also cannot contain any of the following characters: ! " ' # $ % ^ & * ( )= + , < > / ? ; : [ ] { } \ ).

a-Need to make program such that if a user inputs any of the above information incorrectly,the program asks the user to re-enter it before continuing on.

b-The program should accept any number of individuals until the person using the program says they are done.

c-Then store the information you collect for each user in class instances that you will append to a list called "college_records".

d-There will be an Instructor class and a Student Class (which should be pretty simple), and the submission must use inheritance principles.

e- Also make a method that displays all collected information for an individual called "displayInformation".

f-Need to must make also have a class called "Validator" that has methods attached to it that validate submitted information.

g-When the submission is through gathering data, print out all entries in the college_records list.

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!