I need some guidance with edexel A453 on Task 2, i have done most features of the program that the Task states. But i am really Stuck on finding the unique words in the sentence, the only way i have accomplished this is by using seperate lines of code for each word, but i don't get any marks for that, which is why i need some gudiance on waht to do as i am really stuck.
'To Be Or Not To Be' = THIS IS THE WHOLE SENTENCE
["To","Be","Or","Not"] = THIS IS THE LIST CONTAINING THE RECURRING WORDS IN THE WHOLE SENTENCE
["0","1","2","3","0","1"] = LIST OF POSITIONS THAT HAVE BEEN FOUND IN THE SENTENCE THIS WILL BE PRINTED OUT TO THE USER.
here is my code:
Help With CourseWork Watch
- Thread Starter
- 08-05-2016 18:30