Alright all you genius programmers and developers you... I could really use some help on this one, please.
I'm currently taking the 'Python for Everybody Specialization', that's offered through Coursera (https://www.coursera.org/specializations/python), and I'm stuck on an assignment.
I cannot figure out how to create a list that contains only the first instances of each word that's found in a string:
Example string:
my_string = "How much wood would a woodchuck chuck,
if a woodchuck would chuck wood?"
Desired list:
words_list = ['How', 'much', 'wood', 'would',
'a', 'woodchuck', 'chuck', 'if']
Thank you all for your time, consideration, and contributions!