Skip to content

Conversation

@ViniciusSantos-Tech
Copy link

What I Fixed

  • Added input validation with .strip() to handle accidental whitespace
  • Improved user experience by preventing fails due to extra spaces

Changes Made

  • Modified next_colour() function to properly handle user input
  • Input now gets stripped of whitespace before comparison

This is my first open source contribution!

Updated the next_colour function to strip user input and ensure score updates correctly even when the user enters an incorrect color.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant