Modify the .py file using the pdf file provided
# # NO CODE HERE # # QUESTION 1 # # NO CODE HERE # def password_check(password): # DO NOT CHANGE THIS LINE result = True # DO NOT CHANGE THIS LINE # # Your code here # return result # DO NOT CHANGE THIS LINE # # Only use this space to write helper functions (if necessary) # if __name__ == "__main__": # DO NOT CHANGE THIS LINE print(password_check('a12#8')) # DO NOT CHANGE THIS LINE print(password_check('a1234567#?')) # DO NOT CHANGE THIS LINE print(password_check('abcdefgh#')) # DO NOT CHANGE THIS LINE print(password_check('a12345678')) # DO NOT CHANGE THIS LINE print(password_check('12345678#')) # DO NOT CHANGE THIS LINE print(password_check('abbbcd1@')) # DO NOT CHANGE THIS LINE print(password_check('a1@a1@1@')) # DO NOT CHANGE THIS LINE print(password_check('a123456#7')) # DO NOT CHANGE THIS LINE # # NO CODE HERE # # QUESTION 2 # # NO CODE HERE # def word_counter(file_name): # DO NOT CHANGE THIS LINE result = 0 # DO NOT CHANGE THIS LINE # # Your code here # return result # DO NOT CHANGE THIS LINE # # NO CODE HERE # if __name__ == "__main__": # DO NOT CHANGE THIS LINE print(word_counter('input1.txt')) # DO NOT CHANGE THIS LINE print(word_counter('input2.txt')) # DO NOT CHANGE THIS LINE print(word_counter('input3.txt')) # DO NOT CHANGE THIS LINE print(word_counter('input4.txt')) # DO NOT CHANGE THIS LINE # # NO CODE HERE # def most_frequent(file_name): # DO NOT CHANGE THIS LINE result1 = '' # DO NOT CHANGE THIS LINE result2 = 0 # DO NOT CHANGE THIS LINE # # Your code here # return result1, result2 # DO NOT CHANGE THIS LINE # # NO CODE HERE # if __name__ == "__main__": # DO NOT CHANGE THIS LINE print(most_frequent('input1.txt')) # DO NOT CHANGE THIS LINE print(most_frequent('input2.txt')) # DO NOT CHANGE THIS LINE print(most_frequent('input3.txt')) # DO NOT CHANGE THIS LINE print(most_frequent('input4.txt')) # DO NOT CHANGE THIS LINE # # NO CODE HERE #