<jupyter_start><jupyter_text>Application 11. Create a Python program that displays the name of three students (Student 1, Student 2, Student 3) and their term grades2. Create a class name Person and attributes - std1, std2, std3, pre,mid,fin3. Compute the average of each term using Grade() method4. Information about student's grades must be hidden from others<jupyter_code>class Person:
  def __init__(self):
    self.name = input("\nEnter your name:")

  def Grade_input(self):
    self.prelim = float(input("Enter Prelim Grades:"))
    self.midterm = float(input("Enter Midterm Grades:"))
    self.finals = float(input("Enter Finals Grades:"))
  def Grade(self):
    print("Average:",((self.prelim * .3) + (self.midterm * .3) + (self.finals * .4)))

class Student(Person):
  def student_info(self):
    total = self.prelim + self.midterm + self.finals
    average = final//3
    list = []
    list.append(self.name)
    list.append(total)
    print(list)

S1 = Person()
S1.Grade_input()
S1.Grade()

S2 = Person()
S2.Grade_input()
S2.Grade()

S3 = Person()
S3.Grade_input()
S3.Grade()<jupyter_output>Enter your name:Student 1
Enter Prelim Grades:1.25
Enter Midterm Grades:1.50
Enter Finals Grades:1.75
Average: 1.525

Enter your name:Student 2
Enter Prelim Grades:1.50
Enter Midterm Grades:2.25
Enter Finals Grades:1.25
Average: 1.625

Enter your name:Student 3
Enter Prelim Grades:1.00
Enter Midterm Grades:1.25
Enter Finals Grades:1.00
Average: 1.0750000000000002
{'fraction_non_alphanumeric': 0.11989100817438691, 'fraction_numerical': 0.05381471389645776, 'mean_word_length': 4.4206642066420665, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 1, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '364048', 'license': 'Apache-2.0', 'n_tokens_mistral': 553, 'n_tokens_neox': 495, 'n_words': 151, 'path': 'OOP_Concepts_2 (application 1).ipynb', 'repo_name': 'MendozaJessaMae/OOP-1-1', 'size': '1468'}