Re: [Tutor] why does this not work

2013-04-24 Thread frederico Batista
Well then, sorry about it Dave. My bad. On Apr 24, 2013 5:05 AM, "Alan Gauld" wrote: > On 24/04/13 04:27, frederico Batista wrote: > >> Dave, you clearly don't know codecademy. >> Please be nice to him. >> > > To be fair to Dave he was very polite and showed the OP all the things > that were nee

Re: [Tutor] why does this not work

2013-04-24 Thread Roelof Wobben
Thanks for all the remarks. The problem was indeed a missing . at the end. Roelof > To: tutor@python.org > From: alan.ga...@btinternet.com > Date: Wed, 24 Apr 2013 09:00:36 +0100 > Subject: Re: [Tutor] why does this not work > > On 24/04/13 04:27, frederico Batista wr

Re: [Tutor] why does this not work

2013-04-24 Thread Alan Gauld
On 24/04/13 04:27, frederico Batista wrote: Dave, you clearly don't know codecademy. Please be nice to him. To be fair to Dave he was very polite and showed the OP all the things that were needed to enable the users of this forum to help him. Very few of us are familiar with codeacademy - ind

Re: [Tutor] why does this not work

2013-04-23 Thread frederico Batista
Dave, you clearly don't know codecademy. Please be nice to him. Also, I recommend the codecademy forums. They have a lot of material about every exercise. On Apr 23, 2013 11:50 PM, "Dave Angel" wrote: > On 04/23/2013 03:39 PM, Roelof Wobben wrote: > >> Im trying to learn python by a course at cod

Re: [Tutor] why does this not work

2013-04-23 Thread Dave Angel
On 04/23/2013 03:39 PM, Roelof Wobben wrote: Im trying to learn python by a course at codeacademy. Now I have this code : def shut_down(s): s = s.lower() if s == "yes": return "Shutting down..." elif s == "no" : return "Shutdown aborted!" else: retu

Re: [Tutor] why does this not work

2013-04-23 Thread Oscar Benjamin
On 23 April 2013 21:17, Danny Yoo wrote: > Hi Roelof, > > On Tue, Apr 23, 2013 at 1:39 PM, Roelof Wobben wrote: >> Im trying to learn python by a course at codeacademy. >> >> Now I have this code : >> >> def shut_down(s): >> s = s.lower() >> if s == "yes": >> return "Shutting down

Re: [Tutor] why does this not work

2013-04-23 Thread Danny Yoo
Hi Roelof, On Tue, Apr 23, 2013 at 1:39 PM, Roelof Wobben wrote: > Im trying to learn python by a course at codeacademy. > > Now I have this code : > > def shut_down(s): > s = s.lower() > if s == "yes": > return "Shutting down..." > elif s == "no" : > return "Shutdown

Re: [Tutor] why does this not work

2013-04-23 Thread Mark Lawrence
On 23/04/2013 20:39, Roelof Wobben wrote: Im trying to learn python by a course at codeacademy. Now I have this code : def shut_down(s): s = s.lower() if s == "yes": return "Shutting down..." elif s == "no" : return "Shutdown aborted!" else: return

Re: [Tutor] why does this not work

2013-04-23 Thread Karan Goel
You're missing a dot (.) *Sorry, I didn't understand you.* - Karan Goel The Real Reason Things Keep Going Wrong: At the beginning of time, God set a Magic Top Spinning... and spinning... and spinning... and spinning... and spinning... and spinning... and spinning..

[Tutor] why does this not work

2013-04-23 Thread Roelof Wobben
Im trying to learn python by a course at codeacademy. Now I have this code : def shut_down(s): s = s.lower() if s == "yes": return "Shutting down..." elif s == "no" : return "Shutdown aborted!" else: return "Sorry, I didn't understand you" But when I run