I\'ve been struggling with this assignment for a few days and can\'t figure out how to write proper pythonic code to replace the values in the lists when there are pipes in