I have a question with OOP and best practice. I have only recently grasped OOP in Python. My query is with user input. Most of the examples online do not include it. Is the following code correct interms of OOP best practice or is it very messy with ' ' these as the parameters?
class Userinput(object):
def __init__(self,name):
self.name = name
def askuser(self,call):
self.call = str(input('Enter in a letter '))
print(self.call)
a = Userinput('Test')
a.askuser('')
self.namenor thecallparameter are used in any way? Also, in python 3,inputalways returns a string.