How a value in a list can be replaced?
Suppose I have the following list :
mylist=[1,3,5,7,4]
and I just want to change the value at index 3 ( which would be 7) with, let's say, 9. (the change is not conditioned )
For earlier versions of python the replace function would work, but how do I do it in Python 3.6?
mylist[3] = 9?listhave areplacemethod?