Python programming
You need help with this code
Write the code to create a function that would ask the user to enter a phrase, place these lines one at a time into a list.
Create a loop to go through the array and place each element one at a time into a file named outFile.txt.
Write another loop that will print that file one line at a time to the console. Make sure to close the file. Call and test the function.