...

/

Solution: Collections

Solution: Collections

Review the solutions to the tasks from the collections challenge.

We'll cover the following...

Solution 1

Here is a possible solution for reversing a word.

Explanation

  • Line 1: Displays a prompt box to the user with the message “Enter a word:” The user can enter a word in the input field provided by the prompt box. The ...