Q1) Using Functions and Lists write a program where a function filterEvens takes a list of mix numbers and return it by filtering all the evens out. You can take list items from user or create static, and then passed it to function. The output should be the list with only evens example input_list = [12, 5, 7, 8, 2, 4, 1] output = [12, 8, 2, 4].
Please do in python. Thanks
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here