0
Help me code it Without inbuilt function and list
k = input() li = [] x = len(k) for i in range (0,x): li.append(k[i]) for i in range(0,x): for j in range(0,x): if li[i]<li[j]: temp = li[i] li[i]=li[j] li[j]=temp j="" for i in range(0,x): j = j+li[i] print("After sorting String is : ",j)
2 Respuestas
+ 1
What exactly are you trying to do? Is there a specific reason why you don't want to use lists and in-built functions?
0
This is not a free do-my-homework service