Please Use Python
## Given the stubs for the following function## and the main program, complete the implementation.## Finish the assert statement to properly## assert the result shown below (be careful## with the types of the variables).
def get_list_odd(): """ Given a list of numerical values, return a new list that contains the odd elements on the list. If the list is empty, return -1. For example, if the list contains [10, 1, 6, 3, -1, 5, 9] the function returns [1, 3, -1, 5, 9] """ passif __name__ == "__main__": ### Write 3 assert statements ### to test the function assert ...
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here