I was wondering what type I would have to call when my program has to know that my user input is an object name.
Example:
If I have this object in a class
Jens = Person("Jens", "14 years")
search = input("What person do you want to print info about? ")
search.printInfo()
What type should I wrap around search to make it possible to set it into my printInfo function?
Thanks in advance
I am working in python3