Python Object-Oriented Python Instant Objects Your first class

Basel Kanaan
Basel Kanaan
4,458 Points

i have a problem making instance of this class

even tho i applied same way that he did in the previous video but im still getting an error here
class Student:
    name = "Basel"
    me = Student()

1 Answer

Steven Parker
Steven Parker
203,989 Points

Making the instance should be done outside of the class, which means those lines should not be indented.