"Daniel Sato" wrote
I have been able to make the module quit after entering a password three
times, but can't get it to quit right away after the correct one is
password = "qwerty"
guess = "0"
count = 0
while count != 3:
guess = raw_input("Enter your password: ")
guess = str
2009/7/1 Daniel Sato :
> I have been going through some Python Programming exercises while following
> the MIT OpenCourseWare Intro to CS syllabus and am having some trouble with
> the first "If" exercise listed on this page:
>
> http://en.wikibooks.org/wiki/Python_Programming/Conditional_Statement
On Wed, Jul 1, 2009 at 3:53 AM, Daniel Sato wrote:
> I have been going through some Python Programming exercises while following
> the MIT OpenCourseWare Intro to CS syllabus and am having some trouble with
> the first "If" exercise listed on this page:
>
> http://en.wikibooks.org/wiki/Python_Progr
Daniel Sato wrote:
I have been going through some Python Programming exercises while following
the MIT OpenCourseWare Intro to CS syllabus and am having some trouble with
the first "If" exercise listed on this page:
http://en.wikibooks.org/wiki/Python_Programming/Conditional_Statements#If_Ex
Daniel Sato wrote:
I have been going through some Python Programming exercises while
following the MIT OpenCourseWare Intro to CS syllabus and am having
some trouble with the first "If" exercise listed on this page:
http://en.wikibooks.org/wiki/Python_Programming/Conditional_Statements#If_Exer
Daniel Sato wrote:
I have been going through some Python Programming exercises while
following the MIT OpenCourseWare Intro to CS syllabus and am having
some trouble with the first "If" exercise listed on this page:
http://en.wikibooks.org/wiki/Python_Programming/Conditional_Statements#If_Exer
1. Pay more attention to what ends an if statement (:) also watch your
indentation.
2. Code is better than my commentary. This works the way you want it to
work.
password = "qwerty"
guess = "0"
count = 0
while count != 3:
guess = raw_input("Enter your password: ")
guess = str(gu
On Tue, Jun 30, 2009 at 9:53 PM, Daniel Sato wrote:
>
I have been able to make the module quit after entering a password three
> times, but can't get it to quit right away after the correct one is
> entered. I know this is really basic, please forgive me. I have no
> programming experience an
Daniel Sato wrote:
am having some trouble with the first "If"
Don't forget the colon at the end of the line.
if condition:
pass
Greetings,
--
"The ability of the OSS process to collect and harness
the collective IQ of thousands of individuals across
the Internet is
On 6/30/2009 7:53 PM Daniel Sato said...
I have been able to make the module quit after entering a password three
times, but can't get it to quit right away after the correct one is
entered. I know this is really basic, please forgive me. I have no
programming experience and have just started
2009/7/1 Daniel Sato :
> I have been going through some Python Programming exercises while following
> the MIT OpenCourseWare Intro to CS syllabus and am having some trouble with
> the first "If" exercise listed on this page:
>
> http://en.wikibooks.org/wiki/Python_Programming/Conditional_Statement
I have been going through some Python Programming exercises while following
the MIT OpenCourseWare Intro to CS syllabus and am having some trouble with
the first "If" exercise listed on this page:
http://en.wikibooks.org/wiki/Python_Programming/Conditional_Statements#If_Exercises
I have been able
12 matches
Mail list logo