Searching the word in a list with more a's
<p>I'm having trouble with an assignment a teacher made. I'm a python newbie so I don't really understand the language. </p>

<p>I need to create a function that given a string of words and looks for the word with more "a" on it and if there are two words with the same number of "a" prints the first one. </p>

<p>Edit 1:
Yes well my idea was to look at each word and use something like <code>str.count("a")</code> and then print the word with the highest value</p>
