I was wondering how to use raw input inside of a class, so instead of passing the name 'Ryan' we could pass a variable inside of the object and ask for that variable later on.
such as:
name = raw_input("What is your name? ")
Here is the code I have:
class Talk:
        def __init__(self, name):
                self.name = name
                print "Hey there, " + self.name
        def printName(self):
                print self.name
talk = Talk('Ryan')
 
     
     
    