pycharm environment - really new, what is wrong with my code? : <p>really new, what is wrong with my code? 
i want that if i'm putting list that there is words that make the conditions i will get the numbers of words that make the conditions.</p>

<pre><code>def ret(List):
    list = input("enter your list: ")
    num_of_string_match = 0
    for element in List:
        if (len(element) &gt;= 2) and element[0]== element[len(element)-1]:
            num_of_string_match = num_of_string_match + 1

    return ('num_of_string_match')

#program code:
list = ["aba", "mom", "bomb","gal"]
myList = ret(list)
</code></pre>
