loading...

re: Creating and Instantiating a simple class in python VIEW POST

FULL DISCUSSION
 

am writing a simple program where i want the userInput to be the instance of my class but i have failed to do so for example

name = input("Enter your name")

name = SomeClass(name)

so i can be able to perform some methods on it

code of conduct - report abuse