Normalize a Username

Write normalize_username(username). Remove whitespace from both ends and return the username in lowercase. Keep internal spaces and punctuation unchanged.

Examples

  • [" Sita_7 "]"sita_7"

Your solution

Python

Results

Python starts when you run or submit this challenge.

Back to Lesson