Question: Write a function that takes a string argument that contains a sentence and returns a list of the words in that sentence that were written

 Write a function that takes a string argument that contains a

Write a function that takes a string argument that contains a sentence and returns a list of the words in that sentence that were written using at least one uppercase letter. You can assume that the sentence you received as an argument ends with either a ', a '!', or a '?', but has no other punctuation. As a clarifying example, if your function was called with the argument "This is the First question on your Second quiz." it must return the list ['This', 'First', 'Second']. You may use any of the ist or string processing functions you wish, and you may also use the ord, char, upper, and lower functions as well if you wish. 4

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!