Question: use python Once we know if an input is a question, we are going to get rid of all punctuation. To do so, write a

use python
use python Once we know if an input is a question, we

Once we know if an input is a question, we are going to get rid of all punctuation. To do so, write a function called remove_punctuation. This function should have the following inputs, outputs, and internal procedures: . Input(s): input_string - string Output(s): out_string - string Procedure(s): define a new variable out_string as an empty string loop through each character in input_string . if this character is not in string.punctuation o then concatenate the current character to out_string return out_string

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To accomplish the task described you can use the string library in Python which has a predefined set ... View full answer

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!