Question: Write a function name problem1 that acceps a list of string literals as the arguement. Loop through each string literals and get the string literals
Write a function name problem1 that acceps a list of string literals as the arguement. Loop through each string literals and get the string literals that don't start with or end with 'a'. Add them to a list and return this list.
test case: the given list is ["apple", peach, banana, strawberry, avocado return ["peach", strawberry
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
