AnsweredAssumed Answered

Using .replace to change words in a list

Question asked by ahmadabusaleh on Jun 30, 2017
Latest reply on Jul 4, 2017 by bixb0012


I am trying to with a script that replaces the word "feet" to "meter" in a list:


AreaList = ["1000 feet", "23908 feet", "1200000000 feet"]
for area in list(AreaList):
       area.replace("feet", "meters")

print AreaList

but I still see the results as the following:

the word feet still in the list! what might be my mistake ?