← Back to Lists
Question 109
The First Three
The First Three
The list grades holds eight marks. Print the first three of them as a list by slicing with an empty start and a stop of 3; an empty start means the slice begins at the front. No input is read.
Expected Output:
[74, 88, 91]= newline. The output ends with a newline — print one after the last line.
Hints2 available
Sign in to use hintsTopics:
ListsSlicing
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Ctrl+Space to expand shortcuts (pr, inp, def)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.