d=input().strip()
s2=input().strip()
a,b=[],[]
for i in d:
if i not in a:
a.append(i)
for i in s2:
if i not in b:
b.append(i)
for i in b:
if i not in d:
print(i,end='')
print()
for i in a:
if i not in b:
print(i,end='')
d=input().strip()
s2=input().strip()
a,b=[],[]
for i in d:
if i not in a:
a.append(i)
for i in s2:
if i not in b:
b.append(i)
for i in b:
if i not in d:
print(i,end='')
print()
for i in a:
if i not in b:
print(i,end='')
Hi friends....
In this blog I'm going to give answer for daily test skillrack program, daily challenges and kick start programs and give some coding techniques.
It'll be helpful for u sure and make it usefull
Learn More →
0 Comments