[Tutor] this wont work

Alan Trautman ATrautman@perryjudds.com
Mon, 19 Aug 2002 13:46:09 -0500


Melvin,

Just a simple indentation error. Second level items need to be at the same
level to function properly. It also really easy to get wrong as you cut and
paste things.



I am thinking of all kinds of things to show to my friends and I'm trying to
write a program that will say stuff about this guy we don't like here it is
but it wont work it always says here is an error on line 12. And o y can I
make it when people type in there pass it will come up in these ****?

print "Hi this is a secret place only those here are members may continue"
print "what is your password?"
zozo = raw_input("enter your password: ")
if zozo == "gogo":
    print "------------------------------"
    print        "welcome Michael"
else:
    print "Try again!"
if zozo == "zozo":
    print "Welcome ryan what would you like to do?"
    boo = raw_input("type 1 for plans on messing up brandon.")
   if boo == 1:
   ^Add a space in here the indentation is important in python
>That should get it started again:)



       print "we will break him up with gina"
elif zozo == "gogo":
    print "welcome Michael"
else:
    print "Try again!"




Peace
Alan