Question: PYTHON QUESTION 9 Implement the following: 1) Define a function e Names() with an arbitrary parameter names. 2) This function accepts any names of strings
PYTHON
QUESTION 9 Implement the following: 1) Define a function e Names() with an arbitrary parameter names. 2) This function accepts any names of strings arguments. 3) eNames() stores all names ends with 'e' into a list and returns the list. 4) Call the function with "James", "Jane", "Jason", 'Jose', "John", "Joyce" as arguments. 5) Print the result of the function call. Make sure to precisely match the output format below. Write your code in the ANSWER area provided below (must include comments if using code is not covered in the course). Example Output ['Jane', 'Jose', 'Joyce']
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
