Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 216 Bytes

access_list_items.md

File metadata and controls

10 lines (6 loc) · 216 Bytes

Access List Items

Given the following list li = [2, 0 ,1, 7, 2, 0, 2, 2] perform the following:

  1. Print the first item of the list
  2. Print the last item of the list

Bonus:

  1. Print random item of the list