Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In python, write a function that takes a string argument that contains a sentence and returns a list of the words in that sentence that

In python, 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions