Continue
Use continue to skip the rest of the current loop iteration and move on to the next item.
Skip empty names
Skip the print when the current name is empty.
for name in ['Ada', '', 'Lin']:
if name == '':
continue
print(name)
Ada
Lin
Only the empty item is skipped. The loop still visits Lin.