def test_item_at_index_or_none():
    "\n    Assert that item_at_index_or_none returns an item at a given index, or None if that index\n    doesn't exist\n    "
    arr = [1, 2, 3]
    assert (item_at_index_or_none(arr, 1) == 2)
    assert (item_at_index_or_none(arr, 10) is None)
Assert that item_at_index_or_none returns an item at a given index, or None if that index
doesn't exist
def test_item_at_index_or_none():
    "\n    Assert that item_at_index_or_none returns an item at a given index, or None if that index\n    doesn't exist\n    "
    arr = [1, 2, 3]
    assert (item_at_index_or_none(arr, 1) == 2)
    assert (item_at_index_or_none(arr, 10) is None)