LearnPy Hub
← Regular Expressions problems
Easy

Remove All Spaces

Read a line and print it with every space removed, using re.sub(' ', '', text).

Input

One line.

Output

One line.

Sample 1

Input
a b c
Output
abc

Sample 2

Input
Hello World
Output
HelloWorld
solution.py
Output appears here
Remove All Spaces · Python practice problem · LearnPy Hub