Description
Update the program you wrote for Q11 so that it can now zip strings of different lengths. The two strings are zipped as before, with the extra characters in the longer of the two strings concatenated to the end of the zipped string.
Note:
You must use a for… in loop and the range() function.
The output of the program must be in the format shown in the examples below, including the format of the prompt, and all spaces and punctuation.
For example:
Enter the first string: short
Enter the second string: long
The zipped string is: slhoonrgt
Enter the first string: hello
Enter the second string:
The zipped string is: hello
Answer: (penalty regime: 0, 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50%)
Jose Gonzalez –
Great Expert, fair price and on-time delivery
Frank Cory –
Incredibly concise, yet detailed, answer to the question that had me stumped. After receiving the help I so desperately needed, I was like, ‘oh my goodness, I’m an idiot!’ But I mean that as a compliment to my assigned answer specialist. I really really appreciated the prompt service and excellent breakdown of the solution. You really can’t put a price on that, but you guys did, and it was so very worth every penny.
Steve Starkey –
that’s fast and quality i really appreciate the works , thanks
Paul Benson –
Phenomenal job done!!!