Question: Step 2: Strings Now, you will write a second function LowerString(string) which will return the result of converting the entire string to lower case, by

 Step 2: Strings Now, you will write a second function LowerString(string)

Step 2: Strings Now, you will write a second function LowerString(string) which will return the result of converting the entire string to lower case, by calling lowerChar on each character. We suggest you do this as follows: first, copy the definition of lowerChar (char) from your solution to the first part then define a second function, lowerString(string) on the first line inside lowerString, initialize a variable result - equal to the empty string . use a for loop withi and set result = result + lowerChar(string[i]) - finally, return result Coding Exercise: Lower-case Strings Define a function lowerString(string) which returns the result of converting string to lower case. Run program Enter test statements Open in console Visualize More actions... Later on, you will learn about the string. lowerO method, which is a built-in way to perform this task. 10: def 11A: Lower Case Next 11B: Variable Scope 11C: Geometry

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!