← Back to Lists
Question 123
Two Lists Become One
Two Lists Become One
Two lists, morning and afternoon, hold grades from two sessions. Concatenate them with the + operator into a new list called combined, print that list, then print how many elements it holds using len(). No input is read.
Expected Output:
[74, 88, 91, 65, 79] 5
= newline. The output ends with a newline — print one after the last line.
Hints3 available
Sign in to use hintsTopics:
ListsOperators
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.