[Tutor] help with elif statements

John Fouhy john at fouhy.net
Thu Oct 13 03:15:35 CEST 2005


On 13/10/05, andrade1 at umbc.edu <andrade1 at umbc.edu> wrote:
> below is my code and everytime I input a value of 16 or more it keeps
> returning sophomore. could anyone help me figure out what to change so
> that it won't return sophmore for things greater than or equal to 16?

Which is the first branch of your IF statement to be true if you enter, say 18?

--
John.


More information about the Tutor mailing list