Question: Labo2 - Exercise - List (1 point) Open List_exercises.py Step 1 Implement the function stubs using only one line of python. Some basic tests have

Labo2 - Exercise - List (1 point) Open List_exercises.py Step 1 Implement the function stubs using only one line of python. Some basic tests have been added in test_list_exercises.py. Run these tests with pytest to ensure they pass. Step 2 Now, in test_list_exericses.py add more to each test to make the test sulte more exhaustive. Try to add at least two more assert statements for each test. Final Step Commit and push your code to the master branch of this repository. The code on your master branch on gitlab is what will be submitted at the deadline. The pipeline for this repo will run pytest, so use it to check you've implemented everything. list_exercises.py x 8 2 Complete the definitions of the following functions using only a single line of code. 3 4 5 def reverse_list(integers): 6 7 Reverse the list (in-place) 9 pass 10 11 def minimum( integers): 12 13 Find and return the lowest number in the list pass 16 17 def sum_list(integers): 18 19 Return the sum of all numbers 20 21 pass 14 15
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
