Sale!

(Solved) : Write Function Called Angryfilefinder Accepts Filename Parameter Function Open File Read R Q34200004

$ 16.00

Answer to #Write a function called “angry_file_finder” that accepts a #filename as a parameter. The function should open the file,…

SKU: b031a8afa4ad Category:

Description

#Write a function called “angry_file_finder” that acceptsa
#filename as a parameter. The function should open the file,
#read it, and return True if the file contains “!” on every
#line. Otherwise the function should return False.
#
#Hint: there are lots of ways to do this. We’d suggest using
#either the readline() or readlines() methods. readline()
#returns the next line in the file; readlines() returns a
#list of all the lines in the file.

#Write your function here!
def angry_file_finder(filename):
read= open(filename, “... View full description