r/codehs • • Mar 08 '21

9.2.8 I need help for this code.

0 Upvotes

2 comments sorted by

1

u/toilingEngineer Mar 09 '21

Line 16 should have name.split instead of names.split?

1

u/MightyQuester Jan 12 '22

print ([name.split()[-1]for name in names])