For this Question: An array of 5 string is given where each string contains 2 characters, Now you have to sort these strings, like in a dictionary.Input contains 5 strings of length 2 separated by spaces.
String contains only uppercase English letters.Print the sorted array.INPUT : 
AS KF ER DD JK

OUTPUT : 
AS DD ER JK KF, I have written this Solution Code: inp = input("").split(" ")

print(" ".join(sorted(inp))), In this Programming Language: Python, Now tell me if this Code is compilable or not?