Question

Write a program to create a student class which should have the following fields: Student Name Student Age Fee Total Marks Create 5 objects of his/her class and test the program, and

23 Apr 2024
Answer :
Word Count : 384

Sure! Below is a Python program to create a student class with the specified fields and to create 5 objects of that class to test the program:

```python
class Student:
    def __init__(self, name, age, fee, total_marks):
        self.name = name
        self.age = age
        self.fee = fee
        self.total_marks = total_marks

    def display_info(self):
        print("Name:", self.name)
       

_____ _____ ____ ______ _______ ________ ____ ________ __________.
______ ________ _________ ____ _____ _____ ______ __________ ___ ________ ___.
________ _______ _____ _____ _______.
____ _______ _________ _____ _________ __________ _________ ________.
_________ _________ __________ ___ _______ ___ ________ ___ _________ ______.
________ ______ ______ _______ _______ _________ _____ ________ ____ _____.
__________ _______ ________ _______ ____ __________.
_________ ____ ____ _____ _________ __________ _____ ___ ____ _______.
_____ ________ _______ ____ _________ ______ ___.
__________ ______ _______ _________ ___ _____ ___ ______ __________.
___ __________ _____ _________ ____ ________ ___ _______ ______ ___ ______ _____.
________ _______ _____ __________ _________ __________ ___ ________ _________ ____ ___ _____.
_________ ________ _______ ________ _________ ____ _____.
_____ ___ _______ ________ ________ _________ __________ ____ __________ __________ ______.
________ _____ __________ _________ _____.
________ ___ _________ __________ ______ _________ _________ __________ _____.
________ _____ ______ ___ _____.
_____ _____ _________ ______ __________ ______ _____ __________ ________ _______.
______ __________ __________ _____ ______ _________ ___ __________ _____.
______ _________ _________ _____ ____ _______ _________ ____ __________ ______ ___.
________ __________ ____ _____ _______ _________ __________ _________ _______.
_____ ______ ___ ____ __________ _______ ________.
_________ ___ _____ ___ ____ ___ ___ __________ ____.
_______ _______ _________ ____ ___.
______ ______ ____ __________ ______ _____ ______ _______ ______ ____ _________ ______.
___ _______ ___ _______ ________ _____ _______ _____ ______ _________.
__________ ___ _____ ________ ____ _________ ____ _______ ____ ___ ___ ________.
___ ______ ___ ___ ___ _____ _________ ________ ______.
__________ ____ __________ _______ ______ _________ _______.
________ _____ __________ ______ ___ _____ ______ __________ __________.
______ _______ _____ ______ _________ ___ __________ ________.
__________ _____ _______ ____ ________ ___ ______.
_______ ___ _____ _____ _________.
________ _______ ______ ______ __________ _______ _______.
_____ _____ ______ ________.
IGNOU ACADEMY
Your IGNOU journey, made easier.
  • Solved Assignments
  • Study Notes
  • Guess Papers
  • Question Papers
Skip in 10
Top
📞
Call Support Instant phone assistance IGNOU MLI 7 2024 - Write a program to create a student class which should have the follow | IGNOU Academy
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→