1. l = input().split() ans = "" length = 0 for i in l: if(len(i)>length): length = len(i) ans = i print(ans,length) 2. l = list(input("Enter the non-empty string : ")) n = int(input("Enter the nth index : ")) l.remove(l[n]) res = "".join(l) print(res) 3. s = input("Enter the string : ") spec = input("Enter the specified character : ") ind = s.find(spec) print(s[ind + 1:]) 4. s = list(input("Enter the string : ")) s.sort() print("".join(s)) 5. s = input("Enter the string : ").split() print("Answer = ","".join(s))