Question: Hello! How should I do on python 3 to get the same output? by using while, please. should I use s.replace? Test print(fold_strings (aaa, BBB))

Hello!
How should I do on python 3 to get the same output? by using "while", please.
should I use "s.replace"?
Test print(fold_strings ("aaa", "BBB")) print(fold_strings ("giraffe", "wallaby")) gwiarlalfafbey print(fold_strings ("12345", "abcde")) Result aBaBaB 1a2b3c4d5e
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
