All problems
EasyStrings
Strip whitespace
Strip leading/trailing whitespace from " hello " and print the result wrapped in pipes.
- #strip
Sample input
" hello "
Sample output
|hello|
strip-whitespace.py
Output
Press "Run code" to execute.
Loading…
Strip leading/trailing whitespace from " hello " and print the result wrapped in pipes.
" hello "
|hello|
Press "Run code" to execute.