Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hello! I need helps on this question. Please concern all the reqiurements and the question are asking about. And also, please make sure it works.
Hello! I need helps on this question. Please concern all the reqiurements and the question are asking about. And also, please make sure it works.
Thank you so much!
1. Task Write a file named spel1check.py that checks user-entered text for misspelled words Do this by reading a list of correctly spelled words from http://cs 1110.cs.virginia.edu/files/words.txt - the file has one word per line Then read lines of user-entered text; list any misspelled words in what they entered; and keep reading lines until they enter a blank line. Strip off any leading or trailing punctuation before checking the word (the built-in string method strip can do this easily: s.strip("). Only list a word as misspelled if it is not in the ist of workds, but ignore case; "tHe" is not misspelled for this assignment. Your program should read the list of words from the web only once per run of the program, no matter how many lines of text the user types in a given run. 1.1.Style matters In addition to functional correctness, some points will be reserved for 1, having good variable names 2. having meaningful docstrings for any function you write (no functions are required, but if you create one, add a docstring) 2. Example Invocations An example run of the program might look like: Type text; enter a blank line to end. But oh, beamish nephew, bware of the day, MISSPELLED: beamish If your Snark be a Boojum! For then MISSPELLED: Snark MTSSPELLED: Boojum You will softly and suddenly vanish away And never be met with againStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started