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
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