realpython / book2-exercises

Book 2 -- Exercises for the book
167 stars 203 forks source link

page 120 inconsistensies #59

Closed Laukess closed 8 years ago

Laukess commented 8 years ago

I might be mistaken, but so far you've only used " and ' when working with strings.

On page 120 you use the following line in your code: 'Another round, my friend? (yes or no) '

This is pretty petty, but wouldn't this be more consistent: "Another round, my friend? ('yes' or 'no') "

this might be silly, but I do believe small inconsistencies like these make it harder for absolute beginners.

I feel quite silly adding this to the issue tracker, but I've chosen to add it anyway, use this info however you see fit. If ` is used a lot in general, then maybe add a line explaining if thats the case, and why.

mjhea0 commented 8 years ago

Thanks for pointing this out. I just updated it to-

again = raw_input('Another round, my friend? ("yes" or "no") ')

Keep bringing up issues like this. Nothing is too silly. :)