Answered step by step
Verified Expert Solution
Question
1 Approved Answer
code for python Function Name: noteTaker Parameters: notes ( string ) Returns: newNotes ( string ) Description: The Office of Disability Services here at university
code for python
Function Name: noteTaker Parameters: notes ( string ) Returns: newNotes ( string ) Description: The Office of Disability Services here at university offers accommodations for students with disabilities, including providing note-takers for students. Students in a class can volunteer to upload their notes to a portal, so that students who need them can access them. A note-taker should make an effort to ensure that their notes are clear, so that anyone reading them can understand them. Write a function that takes out extraneous punctuation within a group of sentences. The function should remove any and all punctuation within a sentence, but not its end punctuation. Note: You only need to account for these characters: .,?!@: Hint: The isupper() function can help you determine if a character is a capital letter! Every sentence after the first one will begin with a space and a capital letter. >>> notes = 'Li!sts are a cool datat,ype! They can hold a@ lot of infor:!matio n.' >>> noteTaker(notes) Lists are a cool datatype! They can hold a lot of information. >>> notes = 'CS1301,,,-- wh:at a c@!ool class!' >> noteTaker(notes) CS1301 -- what a cool classStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started