(Jun-21-2021, 08:31 AM)Axel_Erfurt Wrote: try
in_text = "kd465b21" in_list = [x for x in in_text] in_list.sort(key=str.lower) print("".join(in_list))
Output:12456bdk
you did not read sir, im trying not to use sort() function,or any loops, im suppoused to use recursion only.
thank you for the effort but it does not help.