Question: Write a non - recursive function ( find _ first _ upper ) to find the index of the first uppercase letter in a given

Write a non-recursive function (find_first_upper) to find the index of the first uppercase letter in a given string. If there are no uppercase letters found, the function should return -1.
Outside of the function, call the find_first_upper function on an input string and print the resulting index value.

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!