How to write Python program to remove given substring from String?

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 : ")…

This Question has been answered. 

Please Subscribe to See Answer or To Get Homework Help