Question: X Unit 5 Strings Programs Unit 5: Strings Programs Every program should have a header that includes a program name, description of the program, and

 X Unit 5 Strings Programs Unit 5: Strings Programs Every program
should have a header that includes a program name, description of the

X Unit 5 Strings Programs Unit 5: Strings Programs Every program should have a header that includes a program name, description of the program, and their name as the author of the program. Comments should also be appropriately Included throughout the code so that the code is quickly understandable to another peogrammer NoVowels write afunction called sovowels( ) that takes no parameters, asks a user for a string, and returns a string where all the vowels are taken out imagine that the string they enter could be multiple words with white spaces. . In the Function: Have 0 parameters Ask the user to input a string o write code that will create a string that will be the same string as the original except without wowels (assume y is never a vowe). Main Part (not required, just use this to call test cases) o Example: print NoVowe1s When prompted user enters: BLLOI LOVE cODLNg IN pEHo Rele to lessons 5.56, 56.8, and 56.9 in codeHS Write a function called EneryptHessage(0 that encrypts a message by shifting each of the letters (and only letters) of a string over by a specific number in all caps The function should Have 2 parameters, a string that is the message to encrypt and an integer hat is the shift value o o Transforms the string into ALL CAPS o Returns a string that shifts each letter over by the specific index. Only shift the letters. Spaces, exclamation points, ete shouid not be changed Main Part (not-required, just use this to call test cases) o Examples EncryptNessageABC X127 4 Returms"EFG! BCD? eReturms"EFG! BCD eReturms: YZA BC EncryptMessage"ale De".-2 Refer to the ord) and chr D functions automatically built into Python that are o The ASCll table is very useful here as wel Unit 5: Strings Programs white a function called DeceyptHeasage that decrypts an enorypted message by shifting each of the letters (and only letters) of a string over by indexes-1 10-25 It will print the shift ndex on one line foilowed by what the string would be for that shift The function should o Have 1 parameter, that is a string o If the parameter is a string follow this for all shifts from 0 to -25

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!