πŸ“Œ Step 3: Define get_started function

  1. This function stores the name of the word file in a variable.
  2. Asks for user name.
  3. Prints:
Welcome to Wordle 101 [userName]

========================================================================
                                 Rules
You have 6 guesses to figure out the solution.
All solutions are words that are 5 letters long.
Letters that have been guessed correctly are displayed in uppercase.
Letters that are in the word but have been guessed in the wrong location
are displayed in lowercase.
========================================================================
  1. Returns file name.
πŸ’‘ Hint

  • Use variables to store input from prompts input().
  • Copy and paste if needed.
  • You can use \n in a long string "..." to continue a sentence on a new line.
  • [userName] should be the name entered by the user.
    ℹ️ More Information
    • You can use f-string formatting to print a variable in a string. This works for any variable type (e.g.Β str, int).
      ⭐ Example print(f"Hello {variable_name}!")
βœ… Checker

Define get_started function

Type or paste your code and run.