Your English teacher has asked you to write a description of your favourite imaginary pet. They want you to use plenty of adjectives in your description and suggest that you use a thesaurus to find synonyms to use in your description.
As a computer scientist, you have decided to write a computer program that will take a description of a pet as an input, lookup for synonyms in a thesaurus and output an alternative description of the pet.
Let’s look at the code
Let’s test this code
Copy the following description and use them with the code provided above. Copy the improved description in the output column.
Pet | Input | Output |