Question: by python Problem 3: Given 2 odd-length strings, s1 and s2, write a function mixStr(s1, s2) that returns one new string made of the first,

 by python Problem 3: Given 2 odd-length strings, s1 and s2, by python

Problem 3: Given 2 odd-length strings, s1 and s2, write a function mixStr(s1, s2) that returns one new string made of the first, middle, and last characters of each input string. For example, if the function receives Japan" and "Qatar the returned string would be JQptnr. Problem 4: Write a function showCount All(s) that accepts a string and prints the count of all lower case, upper case, digits, and special characters in the initial string. For example, if the string 'He3LO!%n' is sent to the function, it would print: Lower Chars = 2. Upper Chars = 2 Digits = 2 Specials = 2 DDDD

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!