You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: responses/03-firstquote.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
Great! That's the first line. Now, how would we print the last line?
2
2
3
-
You'll want to edit `[0]` to include the index of the last value in the array. You can check out [quotes.txt]({{ repoUrl }}blob/master/quotes.txt) to see the number of lines.
3
+
You'll want to edit `[0]` to include the index of the last value in the array. You can check out [quotes.txt]({{ repoUrl }}/blob/master/quotes.txt) to see the number of lines.
4
4
5
5
Since the first value is the _zeroth_, you'll need to remove one from the number you include for the last value.
0 commit comments