write the program to replace all the elements of a guven value with new value
Expert's answer
def main():
line = input('Enter the line: ')
old = input('enter the old value: ')
new = input('enter the new value: ')
print(line.replace(old, new))
main()
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot