Question: 16.19 Ch 6 Program: Authoring assistant (Python 3) ) Prampt tha usor to cntarastring cf thair cheosing Stora tha text In a string Output the

 16.19 Ch 6 Program: Authoring assistant (Python 3) ) Prampt tha

16.19 Ch 6 Program: Authoring assistant (Python 3) ) Prampt tha usor to cntarastring cf thair cheosing Stora tha text In a string Output the string p) Ex (2) ipement a print_menu) function, wn ch hasa string as parameter, outo-tsa men?ofuser opt cris for analyzing/edring the string. and notums che usar's anterad monu aption and tho samalaat srgch can be ec ted inalds the print manuo Function) Each aption represented by a single characrer If an Invallc character is anterad continua to pramat far a vald choica. Hint. Impiament tha Qut menu aionbefar mpiemanting other ophions dal print menuo in the main sect on of your code Continue to call print menup untithe user enters g to Qut 3 pts) -Shorten 2pacej 3) Impement the get.num.or noncharacterl Function get num.ot-onwS charactesD has astring paramerer and retums the (4 , riper 1?.lt utre get num of wors nta) Ex. unctic et num o words has ? string parameter and returns the number of words in thesring Funiser c words 3 5) mpen entretir_cap izationi hnotion tx_capirzation > ha a string oars ete and returns an adated strm here loweroaselerers st the beginning of gentences are replaced with uppercase letters. Tucsolizationo lso returns the number of letters that have been capitalzed. Cal fix caplzationy in the print menufunction, and then output the number of lters citalzed and the edted string Hut Loak up and usc Python fncnions siawar) and uppon to complenc thus task Hlnt 2 Creato an ompty string and uso shring concatonation to make edts to the sting sps) 6) Impiemant tha replaca puncuat ionD funct on raplacaunctuatian) has a string aaramater and two kayword argumant paramotars esclamationcount anc semioloncount repace-ounctuationO upoates the Str ng oy repacing each excism ston point character tern a returns t72 updated sanng. Call r:lace-oclamation in the prmt_menu replaced anc outputs thoze courts Lash, repace_p??ctuatoni function, and then output the othted string. (3 pts) Ex on regisced here. cur hope end or journey5 continue 17) mpement the gno en-space! tunction shorterL8090e) h889 string parameter and updates thestring by replacing al secuerces or 2 the ccited string. Hint. Loak up and ue Python fumcnion seace (3 at Ex: ehut?le ?rews 5ndr yes, mere volunteerer more ?1v1115ns, me re-eachere ?n ,psce, nothing ends her: our hopes and our?zurneys tinue ! 0 20 16.19 Ch 6 Program: Authoring assistant (Python 3) ) Prampt tha usor to cntarastring cf thair cheosing Stora tha text In a string Output the string p) Ex (2) ipement a print_menu) function, wn ch hasa string as parameter, outo-tsa men?ofuser opt cris for analyzing/edring the string. and notums che usar's anterad monu aption and tho samalaat srgch can be ec ted inalds the print manuo Function) Each aption represented by a single characrer If an Invallc character is anterad continua to pramat far a vald choica. Hint. Impiament tha Qut menu aionbefar mpiemanting other ophions dal print menuo in the main sect on of your code Continue to call print menup untithe user enters g to Qut 3 pts) -Shorten 2pacej 3) Impement the get.num.or noncharacterl Function get num.ot-onwS charactesD has astring paramerer and retums the (4 , riper 1?.lt utre get num of wors nta) Ex. unctic et num o words has ? string parameter and returns the number of words in thesring Funiser c words 3 5) mpen entretir_cap izationi hnotion tx_capirzation > ha a string oars ete and returns an adated strm here loweroaselerers st the beginning of gentences are replaced with uppercase letters. Tucsolizationo lso returns the number of letters that have been capitalzed. Cal fix caplzationy in the print menufunction, and then output the number of lters citalzed and the edted string Hut Loak up and usc Python fncnions siawar) and uppon to complenc thus task Hlnt 2 Creato an ompty string and uso shring concatonation to make edts to the sting sps) 6) Impiemant tha replaca puncuat ionD funct on raplacaunctuatian) has a string aaramater and two kayword argumant paramotars esclamationcount anc semioloncount repace-ounctuationO upoates the Str ng oy repacing each excism ston point character tern a returns t72 updated sanng. Call r:lace-oclamation in the prmt_menu replaced anc outputs thoze courts Lash, repace_p??ctuatoni function, and then output the othted string. (3 pts) Ex on regisced here. cur hope end or journey5 continue 17) mpement the gno en-space! tunction shorterL8090e) h889 string parameter and updates thestring by replacing al secuerces or 2 the ccited string. Hint. Loak up and ue Python fumcnion seace (3 at Ex: ehut?le ?rews 5ndr yes, mere volunteerer more ?1v1115ns, me re-eachere ?n ,psce, nothing ends her: our hopes and our?zurneys tinue ! 0 20

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!