Question 1

I had to write a function that receives a single float parameter and calculates the value of e using sufficient terms, until the difference between two successive calculations differ by lessthan the parameter accuracy.

https://github.com/CarminaP/Quiz11/blob/master/q1.py

Question 2

I had to write a function called checkBanana that receives a  name of a file and counts the number of times that the string “banana” appears.

https://github.com/CarminaP/Quiz11/blob/master/q2.py

CC BY 4.0 Quiz 11 by carminaperezguerrero is licensed under a Creative Commons Attribution 4.0 International License.