+ 3
Is this what you're trying to do? a = input().split() lengths = [] for i in a: lengths.append(len(i)) print(lengths)
20th Oct 2020, 9:01 AM
ChaoticDawg
ChaoticDawg - avatar