1) Create a list comprehension of multiples of 4 from 4 to 40 inclusive.2) Use slicing to print the first two values.3) Use slicing to print the last four values.4) Use slicing to print from the second to the fourth value inclusive.
(PYTHON)Example Output[4, 8][28, 32, 36, 40][8, 12, 16]
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here