Python Object-Oriented Python Instant Objects Your first class

Caroline Louw
Caroline Louw
10,818 Points

How do I create a variable and assign to an instance of Student(), and do I print out name only at the end?

In object orientated python

first_class.py
class Student:
    name = "Caroline"
    me = Student()
    print(name)