Week 4

Emojize

Install a package, import it, and call the one function the spec names.

You type

One line of English that may contain codes.

The tool
Install, call, print Install the package Call its function Print the line
What comes out

The same line, with those codes drawn as emoji.

The question, more slowly

The question is: one line of English may contain emoji codes, including the short aliases. You print the same line with those codes turned into emoji. Words that are not codes stay as words.

This is the smallest library problem. Install the package the spec names, import it, and call the function it names. The docs, linked from the spec, say which language setting turns aliases on. Without that setting, the short names do nothing.

People convert only a line that is nothing but a code, and forget a sentence with a code in the middle. The function is meant to walk the whole string.

Before you code

Install the lecture's animal package and make it say one word you invent. That is the same motion, and it is not this problem.