<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def myreplace(astr, thefind, thereplace):
 """in string astr replace all occurences of thefind with thereplace"""

    alist = astr.split(thefind)
    new_s = alist.split(thereplace)
    return new_s