English, asked by sharmasister07, 5 days ago

outpup of
str1="python is awesome"
str2='how are you'
print(str1+str2)
print(str2*2)

Answers

Answered by ayesha2093623
0

Input: str1 = “abyzf”, str2 = “abgdeyzf”, str3 = “poqgode”.

Output: YES

Explanation:

Remove ‘g’ from str3 and insert it after ‘b’ in str1, A = “abgyzf”, C=”poqode”

Remove ‘d’ from str3 and insert it after ‘g’ in str1, A = “abgdyzf”, C=”poqoe”

Remove ‘e’ from str3 and insert it after ‘d’ in str1, A = “abgdeyzf”, C=”poqo”

Therefore str1 is transform into str2.

Input: A = “abyzf”, B = “abcdeyzf”, C = “popode”.

Output: NO

Explanation:

It is not possible to transform A equal to C.

Similar questions