Result Size: 625 x 571
demo_class5.py:
x
 
class Person:
  def __init__(mysillyobject, name, age):
    mysillyobject.name = name
    mysillyobject.age = age
  def myfunc(abc):
    print("Hello my name is " + abc.name)
p1 = Person("John", 36)
p1.myfunc()
C:\Users\My Name>python demo_class5.py
Hello my name is John