Basics

gubitz at netcologne.de gubitz at netcologne.de
Thu Oct 14 16:45:25 EDT 1999


Fergus Hayman <shayman at uniserve.com> wrote:
> 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
      if name == "Eric":	
> string assignment ?
>             print " Your a bloke"
>     else:
>             print " Are you kidding"

>  Thanks







More information about the Python-list mailing list