Replace Element In List Python Flowchart