QUIZ 11

For the question 1 I created a function that opens the file and by using a for loop it goes over each line of the text file adding the numbers to a list and then use that list to to some operations.

For the question 2 I created a function that opens a text file and then by using a for loop goes over each line checking how many times is the word in that line.

Here are my solutions for the quizz 11:

Question 1:https://github.com/Manuelmv94/Quizz11/blob/master/q1.py

Question2:https://github.com/Manuelmv94/Quizz11/blob/master/q2.py

CC BY 4.0 QUIZ 11 by Manuel Madrigal is licensed under a Creative Commons Attribution 4.0 International License.

Comments are closed.