Question : How to write Python program to remove given substring from String?Answer :#Python program to remove a substring from String str=input("Enter a string : ") # user enters a string substr=input("Enter a substring to remove : ") # user…
Posted inPython