Question: Python: Given two strings, a and b , create a bigger string made of the first char of a, the first char of b, the
Python: Given two strings, a and b, create a bigger string made of the first char of a, the first char of b, the second char of a, the second char of b, and so on. Any leftover chars go at the end of the result.
mixString("abc", "xyz") "axbycz" mixString("Hi", "There") "HTihere" mixString("xxxx", "There") "xTxhxexre"
def mix_string(a, b):
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
