class userInfo:
def user_data(self,name,age,phone):
self.name=name
self.age=age
self.phone=phone
return (self.name + ' ' + self.age + ' ' + phone)
userfile=userInfo() #This is easier to follow but not sure how it affects your model,IMHO.
print(userfile.user_data('Terry', '54', '999-222-3333'))
print(userfile.user_data('Wanda', '54', '999-222-3333'))
print(userfile.user_data('Gene', '54', '999-222-3333'))
"""Found this extremely easy to follow;
When you go to print you call the Class name dot method name with pass values.
format makes a lot of sense....
class.method(value,value,etc) #Visualizing this is simpler for me.
"""
Comments