Apr-16-2018, 06:11 PM
(Apr-16-2018, 05:19 PM)Elero Wrote: birds = ("Pigeon, Eagle, Parrot, Chicken, Turkey, Macaw, Duck, Geese")Ok, so that's not a list, or tuple, of birds. It's a single string.
If you fix that, the rest of your code might work.
(Apr-16-2018, 05:19 PM)Elero Wrote: if last_guess.title() in birds == False:This is a bit of a nitpick, but there's no reason to have the
== False
there. The in
operator already returns True/False, so it's redundant, and makes the code a little harder to read.