# Python program to remove all occurrences of a character from a string text= 'Welcome, to, Python, World' print(text.replace(',',''))