[Tutor] (no subject)

akira sugiura kodokuchef@yahoo.com
Mon, 12 Aug 2002 08:02:09 -0700 (PDT)


Hi,

I am completly new to either python or a world of
programing. Honestly I am a bit nervous using this
service first time. Anyway whilst I've tried to solve
this exercise but couldn't get to the answer. Can
anyone help?

======================================================
Modify this program to keep track of how many times
the user has entered the password wrong. If it is more
than 3 times, print ``That must have been
complicated.'' 

password = "foobar"

while password != "unicorn":
    password = raw_input("Password:")
print "Welcome in"
=======================================================
Thank you very much




=====
-----------------------------------
Akira Sugiura
kodokuchef@yahoo.com
-----------------------------------

__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com