Question
PYTHON 3: Create a class called Student . In that class, create instance variables for name, percentGrade, letterGrade . ! Create a get and set
PYTHON 3:
Create a class called Student. In that class, create instance variables for name, percentGrade, letterGrade. ! Create a get and set method for each of these variables ! The set methods should allow you to assign the value of variable. * The get methods should simply return the values of the variables. * Do NOT create a method called setLetterGrade(). Instead, you will create a method called calcLetterGrade() <~ This method should look at the value of percentGrade and use it to determine the appropriate letter grade.
Finally create a method called printStudentInfo(). This method should create a string (using the format string technique), and return that string. If the user were to print out that string, it should look something like this:
Name: Lisa Jackson
Percent Grade: 93
Letter Grade: A
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started