Implement function duplicate that takes as input a string an

Implement function duplicate() that takes as input a string and the name of a file in the current directory and returns True if the file contains duplicate words and False otherwise. >>> duplicate(\'Duplicates.txt\') True >>> duplicate(\'noDuplictate.txt\') False

Solution

return False

 Implement function duplicate() that takes as input a string and the name of a file in the current directory and returns True if the file contains duplicate wor

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site