Created
April 30, 2020 13:32
-
-
Save Raj39120/f51b9996106990bb16fe269a2d84ae4a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Student: | |
def __init__(self, age, gender, first_name, last_name, identification, grade): | |
self.age = age | |
self.gender = gender | |
self.first_name = first_name | |
self.last_name = last_name | |
self.identification = identification | |
self.grade = grade | |
Student1 = Student(9, "Male", "Python", "2518", 405995, 4) | |
print(Student1.age) | |
print(Student1.gender) | |
print(Student1.first_name) | |
print(Student1.last_name) | |
print(Student1.identification) | |
print(Student1.grade) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment