Search for question
Question

You will require to read data from a file and perform operations on the data Use the readlines method to get the data from the info.txt file - https://www.w3schools.com/python/ref_file_readlines.asp Create a

file named csc101_project.py ['ankylosaurus', 'carnotaurus', 'spinosaurus', 'therizinosaurus', ] Take the list above and create the 2 functions. Make sure to loop and don't just use if on the list. 1. Create a function called uppercase the first letter of each word. modify_animal_names(list) and 2. Create a function called find_replace_name(list, name) that finds the word "therizinosaurus" and replace it with your name. DO NOT use the replace function. Do this manually by looping (for loop). All functions you were asked to create must take the list as an argument. These functions do not have a return value. Your functions will modify the list of items. You can always print the list to ensure your code modified the list in each function.

Fig: 1