Source code for kyu_8.remove_string_spaces.remove_string_spaces
# Created by Egor Kostan.
# GitHub: https://github.com/ikostan
# LinkedIn: https://www.linkedin.com/in/egor-kostan/
[docs]def no_space(x) -> str:
"""
Remove the spaces from the string,
then return the resultant string.
:param x:
:return:
"""
return x.replace(' ', '')