#try to avoid input function a = ["hello","world","welcome","RGUKT","aeiou","python"] b = [] for i in a: b.append(len(i)) print(b)
Click the run button. Try to avoid input() function.