You have first created a
Student and gave it an attribute
name, you then assigned
"Gard" like this
name = "Gard"
class Student: name = "Gard"
Now you have to create an instance of this
class Student, to create an instance 👇
class Student: name = "Gard" 👇 # This is an instance (me) me = Student() print(me.name) 👈 #An instance of that class, has access to all attributes and methods within a class.