Array Replace Python Function Exercises