Python – List – string value change

  class, format, list, python

I have a list of am = ['a:hull', 'b:2', 'c:3']

I want to have am = ['a:london', 'b:2', 'c:3'] by using a function to change hull to london, without changing the rest.

I have tried to am = {a:london}, but it changes the whole list and i want to keep other information as it was

any help would be much appreciated

Source: Python Questions