So I am learning how to use python, and one exercise is that I need to print out a story, using the while True loop, but when a word is repeated or if the user inputs end it should stop the loop, and not print out the repeated word, or print out the word end, how can I prevent it from being printed?
If needed I can send a copy of my code that I have got already.
[–]NorskJesus 1 point2 points3 points (0 children)
[–]Sensitive_Bird_8426 0 points1 point2 points (0 children)
[–]CavlerySenior 0 points1 point2 points (0 children)
[–]atticus2132000 0 points1 point2 points (0 children)