Back to task

79 symbols python3
Sun Jun 4 03:11:15 2017 Sait2000
a=input();b=input();r=i=0;
while not r:r=a[:i]+b;r*=r[:len(a)]==a;i+=1
print(r)


Leave a comment

Parsed as Markdown

Login to leave a comment