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

 

09 Jan 2025
Answer :
Word Count : 481

To create a `Student` class in Python and instantiate five objects with the necessary attributes, we will first define the class with the required fields: `Student Name`, `Student Age`, `Fee`, and `Total Marks`. Then, we will create five objects of this class, assign values to their attributes, and print them to test the program.

Here's how the program can be structured:

```python
# Defining the Student class
class Student:
    def __init__(self, name, age, fee, total_marks):
        self.name = name
        self.age = age
______ _______ ________ ________ __________ __________ __________.
______ _________ __________ ____ _______ ______ __________ _________ ___ ______ ________ ________.
____ _____ ________ _____ ____ _____ _________.
_____ ___ ______ ___ ____ _____ _________ _________ ____ ________.
____ ________ ______ _____ ________ __________ _____ _______ ____.
____ ___ _______ __________ __________ _______.
________ _________ ______ ______ ______ _______ _______ ________ _______ ___.
____ ________ ____ ___ ________.
_____ _________ ______ _____ _____.
______ __________ _________ _____ ______ ___ _______ _________ ________.
_____ ____ ________ ______ __________.
________ _______ _____ ___ ______.
___ _____ ________ ___ _____ ______ _______ _________ ____.
___ _________ ___ _______ ___ _____ _____ ___ ________ ________ _________.
_______ _______ _____ ____ ___ __________ _________.
________ ___ _____ __________ _______ ________ ___ _____ __________.
____ _________ ___ _________ __________.
___ _____ _______ _____ ____ _____ __________ _______.
______ ____ ________ _________ __________ _____ _____ ________ ________ _____ ______.
______ __________ ____ ______ ______ _________ _________ __________ ________ ___.
______ __________ _____ ________ ____ ______ _________.
_______ ______ ____ ______ ________ __________ _________.
_______ _______ _______ _______ _________ __________ __________ ________ __________.
____ ____ _______ _______ ______ ___ ________ ___ ___ _____.
________ _____ _________ _________ ___.
_____ ________ _________ ___ ___.
_____ ______ ______ __________ ___ ________ _____.
___ ___ _________ ______ ___ _______ ___ _____ ___.
_________ _______ _________ _____ ____ _____ ______ _________ ____ _________ _____.
______ __________ _________ _________ __________ _____ _________ ___ ____ ________ ______ _________.
_________ ______ _______ ___ _______ _____ ______ ___.
_____ ___ _____ _____ __________ _______.
_________ __________ ______ _________ ____.
_______ ________ ________ ______ ___ ___.
_______ ________ ________ ______ _____ ________ _____ _________ ____ ________.
_______ ___ _______ ___ _______.
_________ _______ __________ _______ __________ ___ ______ _______.
______ ______ ___ _________ ______ ________ __________ _______ _____ _________ ________ _____.
___ ________ _____ __________ ______ ___ ______ ___ _________ _______ _______ __________.
____ ___ ____ ____ _________ ___ __________ ___ _____ ___ _______ _______.
___ ___ ________ ________ _________.
____ _______ ______ ________ _________ ___ ____ ___ _____.
__________ ____ _____ ____ ____ ________.
___ _________ ______ ___ ____ _________ ________ ___ _______ ________.
__________ ________ ________ __________ ___ _____ ______ __________ ________ ____ ________ ____.
_______ _____ _________ __________ ______.
Get Full Answer on WhatsApp

IGNOU NEWS
Assignment Submission Last Date Extended Till 30 June 2026 Click Here★★★IGNOU June 2026 TEE Date Sheet Released Click Here★★★
Top
📞
Call Support Instant phone assistance Write a program to create a student class which should have the follow
🟢
WhatsApp Chat Fast live messaging
Email Us Business enquiries & support