Re: [Tutor] bug in exam score conversion program

2008-10-04 Thread Dragos Ionescu
Original Message From: Steve Willoughby <[EMAIL PROTECTED]> To: Dragos Ionescu <[EMAIL PROTECTED]> Cc: bob gailer <[EMAIL PROTECTED]>; David <[EMAIL PROTECTED]>; tutor@python.org Sent: Saturday, October 4, 2008 11:04:30 PM Subject: Re: [Tutor] bug in exam score co

Re: [Tutor] bug in exam score conversion program

2008-10-04 Thread Dragos Ionescu
- Original Message From: bob gailer <[EMAIL PROTECTED]> To: David <[EMAIL PROTECTED]> Cc: tutor@python.org Sent: Saturday, October 4, 2008 10:15:10 PM Subject: Re: [Tutor] bug in exam score conversion program Lots of good responses. And now for something completely different: import stri

Re: [Tutor] bug in exam score conversion program

2008-10-04 Thread Dragos Ionescu
David try this:   score = input("What is your exam score: (0-100)? ") print getGrade print getGrade(score) Regards, Dragoshttp://scripts.mit.edu/~dionescu/pyworld/ - Original Message From: David <[EMAIL PROTECTED]> To: Brian C. Lane <[EMAIL PROTECTED]> Cc: tutor@python.org Sent: Satu