Daily Python Challenge: Merge Two Strings Alternately

Daily Python Challenge: Merge Two Strings Alternately

Given two strings <span>word1</span> and <span>word2</span>. You need to merge the strings by adding letters alternately starting from <span>word1</span>. If one string is longer than the other, append the extra letters to the end of the merged string. Return the merged string. Example 1: Input: word1 = “abc”, word2 = “pqr” Output: “apbqcr” Explanation: The … Read more