-
Notifications
You must be signed in to change notification settings - Fork 2.6k
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Passing 1 always makes you a winner #159
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/inancgumus/learngo/blob/e366d1a364eba61a08f84a17ef6dbf60818aa144/13-loops/exercises/08-lucky-number-exercises/01-first-turn-winner/solution/main.go#L54C17-L54C17
the random number should not be effected by the users entry. In the example passing in one will always result in you winning since Intn is limited to the guess.
The range for the random number should be a constant
The text was updated successfully, but these errors were encountered: