← Back to Lists
Question 127
Initial Of The First Name
Initial Of The First Name
The list names holds five strings. Print the first character of the first name on one line and the first character of the last name on the next, using two sets of square brackets in a row: the first picks the string out of the list, the second picks a character out of that string. No input is read.
Expected Output:
G T
= newline. The output ends with a newline — print one after the last line.
Hints2 available
Sign in to use hintsTopics:
Lists
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.