Replace string space with given character in Python

Replace string space with given character

In this tutorial we are going to learn writing python program to replace the string space with given character. Problem Statement For a given string we have to replace all the spaces with the character given by the user as an input. For example: Our logic to replace a string with given character Algorithm to … Read more