def alternate_elements(list1):
    
    result=[]
    for item in list1[::2]:
        result.append(item)
    return result 
def alternate_elements(list1):
    result = []
   
    _item_i = 0
    while _item_i < len(list1[::2]):
        item = list1[::2][_item_i]
        result.append(item)
        _item_i += 1
    return result