My thesaurus

thesaurusYour 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.

synonym

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
pet-1
pets-2
pets-3
pet-4

Did you like this challenge?

Click on a star to rate it!

Average rating 1 / 5. Vote count: 2

No votes so far! Be the first to rate this post.

As you found this challenge interesting...

Follow us on social media!

Tagged with: ,