Unable to find a way to break a sequence
I wanted the sequence to break (not to print any sequence) if the length of the name is greater than the length of the sequence but I couldn’t find a way:
I know that the print(List) statement shouldn’t be there but i don’t know where to put it.