Basics

Fergus Hayman shayman at uniserve.com
Thu Oct 14 14:11:13 EDT 1999


Hi  Not sure how to declare a string

    print " Hello , what is your name"
    name = raw_input()
    Eric
    print " Hello" , name
    if name = =Eric:                # This line is wrong , not sure of
string assignment ?
            print " Your a bloke"
    else:
            print " Are you kidding"

 Thanks







More information about the Python-list mailing list