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)

29th Sep 2021, 5:55 PM
Msaligs
Msaligs - avatar
2 ответов
+ 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?
29th Sep 2021, 5:59 PM
Simon Sauter
Simon Sauter - avatar
0
This is not a free do-my-homework service
29th Sep 2021, 6:02 PM
Simon Sauter
Simon Sauter - avatar