0 of 6 problems solved • 0%

Exercise prompt

Feed a Helper

In a nested call, Python evaluates the inner call first. Its return value becomes the argument to the outer call.

Example

def trim(text): return text.strip() print(len(trim(" map "))) # 3

The length calculation sees the cleaned string. Reversing the calls would hand trim an integer.

Your task

Two helpers are ready. Complete initials_label(text) to clean the text with normalize and then wrap that result using bracket. Include the brackets even when cleaning leaves an empty string.