Jun-05-2018, 09:05 AM
Thanks to point problem. That was int .
I change it to string at then time of printing.
I change it to string at then time of printing.
def myfunc(self): print("Hello my name is " + self.name) print("My age is " + str(self.age))Thanks