# power tools easy

Translate the Robot's Beeps

The robot only beeps in code, but you found its translation card! πŸ€–

You get the codebook as beep:word pairs, then the robot's message as a list of beeps (all in the codebook). Print the translated words separated by spaces.

Example:

Input: codebook = "bip:hello,bop:world", message = ["bip", "bop"] Output: hello world

Each beep is looked up in the codebook (bip β†’ hello, bop β†’ world) and the words are joined with spaces.

πŸ’‘ need a hint?

pt-robot-beeps.pyπŸ”’ given lines are locked β€” write your code in between
loading...