Must Write Function Alternatecharacters Weaves Two Strings Together One Character Time Ret Q37154262

You must write a function​ alternateCharacters() ​that weavestwo strings together one character at a time, and returns theresulting string.You can assume that the user will input two strings.######################################################## #alternateCharacters(): Given two strings, return a string that #alternates characters between the two strings# Input: phrase1: the first string# phrase2: the second string# Output: a string that alternates characters between phrase1and# phrase2
linux[0]$ python hw6_part2.py Say something: ​abcd
Say something else: ​1234a1b2c3d4linux[0]$ python hw6_part2.py
Say something: ​How do you do, fellow children?
Say something else: ​What is up, other humans?HWohwa td oi sy ouup ,d oo,t hfeerl lhouwm acnhsi?ldren?
linux[0]$ python hw6_part2.py
Say something: ​Would you care to

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.