I need help Note: It`s a python Implement the following: 1) create a list comprehension of all even numbers from 2 to 100 inclusive. 2) Use slicing to print the first six numbers in the list. 3) Use...


I need help


Note: It`s a python


Implement the following:
1) create alist comprehension of all even numbers from 2 to 100 inclusive.
2) Useslicing to print the first six numbers in the list.
3) Useslicing to print the last two values.
4) Useslicing to print from the eighth to the tenth value inclusive.



Just make sure to precisely match the outputformat below.


Write your code in theANSWER area provided below (must includecomments if using code is not covered in the course).






Example Output

[2, 4, 6, 8, 10, 12]
[98, 100]
[16, 18, 20]




Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here