Question: IN PYTHON Make the search case InSensitive, i.e. With the current program, the Will and will are searched as two different entities, see examples below.
IN PYTHON
Make the search case InSensitive, i.e. With the current program, the "Will" and "will" are searched as two different entities, see examples below. Modify program such, that all occurrences of the searched word will be found regardless of the case, i.e. the search for "will" or "Will" should return results containing all "will", "Will", "WILL" in python language.
Quote Search Program Improvements part A (submit as a separate program). Make the search case InSensitive, i.e. With the current program, the "Will" and "will" are searched as two different entities, see examples below. Modify program such, that all occurrences of the searched word will be found regardless of the case, i.e. the search for "will" or "Will" should return results containing all "will", "Will", "WILL" $ python quote_search.py query:Will Will Found: ... Will you draw me a sheep? $ python quote_search.py query:will will Found: ...will have the stars as no Found: ...will be content that you ha Found: ...will hurt each other. But Found: ...will have stars as no one Found: ...will have five hundred mil Found: ...will be unique in all the Found: ...will be filled with sunshin Found: ...will know who he is, If th: part B (submit as a separate program). Allow multiple, not joined query terms. See example below, if I search for "this should happen" I get a result, however, if I search for "this happen" I get no resuns, Quote Search Program Improvements part A (submit as a soparate program). Make the search case in Sensitive, t.e. With the current program, the 'wir" and willare searched as two different entities soo examples below. Modity program such, that all occurrences of the searched word will be found regardless of the case. To the search for Will" or "Will should return results containing all will wom WILL $ python quote_search.py query:Will Will Found: ... Will you draw me a sheep?... $ python quote_search.py query will will Found: ...will have the stars as no one else has them... In o Found: ...will be content that you have known me. You will Found: ...will hurt each other. But this is the very conditi Found: ...will have stars as no one else has thes... In one Found: ...will have five hundred million little bells, and I Found: will be unique in all the world. To you, I shall b Found: ...will be filled with sunshine. I'll know the sound Found: will know who he is, If this should happen, please Quote Search Program Improvements part A (submit as a separate program). Make the search case InSensitive, i.e. With the current program, the "Will" and "will" are searched as two different entities, see examples below. Modify program such, that all occurrences of the searched word will be found regardless of the case, i.e. the search for "will" or "Will" should return results containing all "will", "Will", "WILL" $ python quote_search.py query:Will Will Found: ... Will you draw me a sheep? $ python quote_search.py query:will will Found: ...will have the stars as no Found: ...will be content that you ha Found: ...will hurt each other. But Found: ...will have stars as no one Found: ...will have five hundred mil Found: ...will be unique in all the Found: ...will be filled with sunshin Found: ...will know who he is, If th: part B (submit as a separate program). Allow multiple, not joined query terms. See example below, if I search for "this should happen" I get a result, however, if I search for "this happen" I get no resuns, Quote Search Program Improvements part A (submit as a soparate program). Make the search case in Sensitive, t.e. With the current program, the 'wir" and willare searched as two different entities soo examples below. Modity program such, that all occurrences of the searched word will be found regardless of the case. To the search for Will" or "Will should return results containing all will wom WILL $ python quote_search.py query:Will Will Found: ... Will you draw me a sheep?... $ python quote_search.py query will will Found: ...will have the stars as no one else has them... In o Found: ...will be content that you have known me. You will Found: ...will hurt each other. But this is the very conditi Found: ...will have stars as no one else has thes... In one Found: ...will have five hundred million little bells, and I Found: will be unique in all the world. To you, I shall b Found: ...will be filled with sunshine. I'll know the sound Found: will know who he is, If this should happen, please
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
