# 0310.py a='andare, creare, stare' b=a.replace('are','ava') print b # andava, creava, stava a='ararat' a=a.replace('ara','ava') print a # avarat