Exerpad
Exercise 2 · Chapter: String ManipulationRequired+50 XP

Clean Username

Users sometimes type their username with extra spaces and mixed case. Read a username, trim the spaces, convert to lowercase, and print the clean version.

Example:

Input:

  Alice

Output:

alice
Need a hint?
3 available · costs 5 XP each
javascript

Output
Run your code to see the output here.