Share your repls and programming experiences

← Back to all posts
David's Triple Guess Game
dcmsmith (1)

In this game, you have three attempts to accurately guess a number between 1 and 10

ShivankChhaya (21)

You could also add a print statement at the ned saying what the number was.

ShivankChhaya (21)

A way you could improve this is by removing the if guess < n and if guess > n statements and put if guess != n. "!=" means not equal.