Python Object-Oriented Python Instant Objects Your first class

Jason Widjaja
Jason Widjaja
7,904 Points

why is this wrong

idk whats wrong with my code

first_class.py
class Student:
    name = jason

1 Answer

Steven Parker
Steven Parker
203,989 Points

The string needs to be enclosed in quotes:

    name = "jason"