Question: b You must submit your own work. For your solutions, only use the concepts taught in this class so far . Start your code with

b
b You must submit your own work. For your solutions, only use

You must submit your own work. For your solutions, only use the concepts taught in this class so far . Start your code with three comment lines explaining what your program does, your name as the author. and today's date. For your code use one file. 1. Define a value-returning function that returns the shortest one of three strings entered as parameters. Solve this without a string traversal algorithml Do not use the min 0 function. Test your function (i.e. call it several fimes with different parameters) 2. Define a value-retuming function countNonDigits(mystring) that counts and returns the number of characters in the string that are not digits. (digits are between " and 9 ) in the myString parameter. (see lecture slide 20 for a similar example.) Call the function (in a print statement) three times to test it with difterent arguments: 3. Define a void function that prints only the lower-case letters of a string given as parameter and skips all other characters All lower-case characters must be printed in one line. Use print(chac, end=-7) for printing without a new line Use the ord0 function in your solution to check if a letter is a non-capital letter: Call the function (three times) with "alpha', 'Alpha' and " 67 Alphatw' as test arguments

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!