<filename>basic/mytests.py<gh_stars>0
def front_x(words):
    print('1')
    lol = words.sort()
    for l in words:
        print(l)

    print(words[0])
    # listWihtX = []
    '''ordenedList = []
    for word in words:
        if word[0] == 'x':
            listWihtX.append(word)
'''






front_x(['bbb', 'ccc', 'axx', 'xzz', 'xaa'])
<filename>basic/mytests.py<gh_stars>0
def front_x(words):
    print('1')
    lol = words.sort()
    for l in words:
        print(l)

    print(words[0])
    # listWihtX = []
    '''ordenedList = []
    for word in words:
        if word[0] == 'x':
            listWihtX.append(word)
'''






front_x(['bbb', 'ccc', 'axx', 'xzz', 'xaa'])
# listWihtX = [] ordenedList = []     for word in words:         if word[0] == 'x':             listWihtX.append(word)