I need python code for this question 20 mins, Q.2. Given…
Question Answered step-by-step I need python code for this question 20 mins, Q.2. Given… I need python code for this question 20 mins,Q.2. Given twononempty and arbitrary-lengthstrings S1 and S2both including alphabetical and decimal digit characters, we want to replace decimal digit characters in one string with alphabetical characters taken from the other, starting from the beginning and advancing in order. For example, if S1=”hdgs232kjh345jhjh” and S2=”DJFGDK232SAGFD12HLGHJ”, the two strings will be transfromed into S1=hdgsDJFkjhGDKjhjh” and S2=DJFGDKhdgSAGFDskHLGHJ”. Since the lengths of strings are arbitrary, while you fill in one string ifthe reach to the end of the other, you should restart from its beginning again and this approach repeats until the fill operation is completed.Write a Python program to carry out the above described task for arbitrary-length non-empty strings S1 and S2. Implement in pure Python without using any library function other than Python’s built-in functions. Computer Science Engineering & Technology Python Programming Share QuestionEmailCopy link Comments (0)


