Reputation: 5
I am very new to Python. I've bought a few books and I am eager to learn from my mistakes. However, this book doesn't include why this error pops up, even though I thought I did everything correctly. I pasted a picture in for you to follow my steps!
Upvotes: 0
Views: 98
Reputation: 4537
Python 3.6 or later. Used f-string.
print(f"Congratulations dumbass, you guessed the number in {count} tries!")
Upvotes: 1