Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

A Simple Class

class MyClass:
 x="hi"

c = MyClass()
print(c.x)
 
PREVIOUS NEXT
Tagged: #A #Simple #Class
ADD COMMENT
Topic
Name
9+9 =