Apr-03-2020, 11:09 PM
I did not encounter problems but from the looks of your code I can say a few things. First, inside the while loop you need to redefine the again variable, otherwise it will use the same response. Also, you can use the lower function to compare. Instead of having a list of lower and uppercase letters. Just do this
again.lower() == "y"
there's also an upper function. Also, I'd like to point out that you can instead of doing gamePlayed = gamePlayed + 1
you can use gamePlayed += 1
which adds one to the original value, this also works with subtraction, division, etc.