python-basics-exercises
python-basics-exercises copied to clipboard
Can this be done more efficiently?
I notice you doing the same thing repeatedly for nouns, verbs, and adjectives. Would a for loop work here to loop through a range (3) for items in noun, verb, adjective? I can't figure out how to do it though.
@jmchamber58 Yes, it could be done with less code. I will make a second solution available that does not contain so much repetition.