i Have different words in two lists and also i have a commit words i need to get out the different words in two lists for Example list one:
apple
cut
chance
list two :
apple
cut
chance
help
there
my shot not working it give me repeated and there is unrepeated words my script
wcode = open('wcode.txt', 'r')
rcode = open('rcode.txt', 'r')
for new in wcode :
if wcode.read() in rcode.read() :
print(' Repeated ')
else :
print(' UnRepeated !!!' + '\n' + new)