s=input().strip()
ss=set(list(s.lower()))
l=[['*' for j in range(len(s))] for i in range(len(ss))]
t=sorted(ss)
j=0
for i in s:
l[t.index(i.lower())][j]=i
j+=1
for i in l:
print(*i,sep='')
s=input().strip()
ss=set(list(s.lower()))
l=[['*' for j in range(len(s))] for i in range(len(ss))]
t=sorted(ss)
j=0
for i in s:
l[t.index(i.lower())][j]=i
j+=1
for i in l:
print(*i,sep='')
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