Ah ok! :) I see what you mean now! I personally think the first one you did looks better and makes more sense, but the professor is having us do the second version. I can't really blame the professor as all these projects are a student's work she's using as examples for us.
http://i.imgur.com/sKdgZ51.png
I linked a screenshot of what the input validation for number between 1-40 should look like and I see what you mean about consistency. I 100% agree with you and if it were me, I would consider my program complete at this point because I think it makes more sense for the program to display
selection #1:
selection #2: You already picked this number. Please enter a different number:
selection #2: You already picked this number. Please enter a different number:
selection #3:
but the student's output that I am trying to match has it displaying as
selection #1:
selection #2: You already picked this number. Please enter a different number:
You already picked this number. Please enter a different number:
You already picked this number. Please enter a different number:
selection #3:
Worst comes to worst, I'll just leave it as is. I know the professor won't mark me for it, but I was just curious how this other student did it.