Question: IN PYTHON! Question 1: Remove non alpha characters In this lab you will write a function which takes in a string and removes all of

IN PYTHON!
Question 1: Remove non alpha characters In this lab you will write a function which takes in a string and removes all of the non-alphabetic characters from it. Write python code to do the following: - Define a function called remove_non_alpha that takes an input string 5 - Loop through each character in the string, adding it to an output string if it is an alphabetic character. - Return the final string. Your code replaces the prompt
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
