I need help writing program in python

Write a program that reads two files named firstFile.txt and secondFile.txt.  These can be located in the I:koppoutboxCS 222 01Program Assignments folder.  The program should compare the text in the files in the following ways:It    should display a   list of all the unique words contained in both filesIt    should display a   list of the words that appear in both filesIt    should display a   list of the words that appear in the first file but not in the second fileIt    should display a   list of the words that appear in the second file but not in the first fileIt    should display a   list of the words that appear in either the first or second file but not both.YOU ARE REQUIRED TO USE SETS TO COMPLETE THE ABOVE.  DO NOT USE ANY OTHER DATA TYPE ORDATA STRUCTURE.Add the following comments to the beginning of the program.Name:Your NameClass and Section:CS 222 01Assignment:Program Assignment 01 Extra CreditDue Date:See aboveDate Turned in:Program Description:You write a   short description of what the program will doWhen you complete the program, do the following.1.Create a folder with the following name: ProgramAssignment01EC2.Copy your program and all appropriate files to this folder3.Copy the folder to your folder in the I:koppinboxCS 222 01 folder

Published by
Ace Tutors
View all posts