Re: [Tutor] if-else statements

2005-10-15 Thread Kent Johnson
Danny Yoo wrote: > [Warning: I get totally off-topic, opinionated, and cranky in the > following rant. My apologies in advance!] > > Hi Andrew, > > But I get worried, though, that much teaching uses fragile techniques that > don't really scale well. I've disliked the order in which some Python

Re: [Tutor] if-else statements

2005-10-15 Thread Alan Gauld
> and it's Java/C++ all the way. I am becoming convinced that lines of > code are not only related to the number of bugs and development speed, > but learning speed as well. Too much time tripping over syntax and > you miss the important bits. It depends. I learned to program in Pascal and a mor

Re: [Tutor] if-else statements

2005-10-15 Thread Danny Yoo
On Sat, 15 Oct 2005, Andrew P wrote: > Well, on the bright side, at least Python is being taught in schools. [Warning: I get totally off-topic, opinionated, and cranky in the following rant. My apologies in advance!] Hi Andrew, But I get worried, though, that much teaching uses fragile techn

Re: [Tutor] if-else statements

2005-10-14 Thread Andrew P
Well, on the bright side, at least Python is being taught in schools. My younger sister is a CS major just starting her programming courses, and it's Java/C++ all the way. I am becoming convinced that lines of code are not only related to the number of bugs and development speed, but learning spe

Re: [Tutor] if-else statements

2005-10-14 Thread Danny Yoo
> > For some reason, the months that have 31 days work fine, but the > > months that have 28/30 do not work. > > How do you know that? > > Show us why you think there's a problem in the program. We have our own > opinions, of course, but it'll be very helpful if you try explaining how > you're th

Re: [Tutor] if-else statements

2005-10-14 Thread Danny Yoo
> I'm having some trouble with my if, else statements. Ok, let's pause for a moment: it seems like you're having problems with more fundamental problems than just simple if/else statements. In the past questions you've written: http://mail.python.org/pipermail/tutor/2005-October/041863.htm

Re: [Tutor] if-else statements

2005-10-14 Thread Andre Engels
2005/10/14, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > Hello > > I'm having some trouble with my if, else statements. For some reason, the > months that have 31 days work fine, but the months that have 28/30 do not > work. Am I doing something wrong? it is supposed to take a date as an > input like 9

[Tutor] if-else statements

2005-10-13 Thread andrade1
Hello I'm having some trouble with my if, else statements. For some reason, the months that have 31 days work fine, but the months that have 28/30 do not work. Am I doing something wrong? it is supposed to take a date as an input like 9/31/1991 and then say that the date is not valid because septe