CREATE: Now it's time to show off your skills! Use what you've learned about refactoring to edit the code in the editor! This is an example of a program a student wrote in a previous lesson.
- Find repetitive blocks of code and write at least one function that your could use instead.
- Use at least one loop in your program (inside your function or out).
- Use comments to clarify the purpose behind each section of code.
To navigate the page using the TAB key, first press ESC to exit the code editor.