Finding the average from user given list in python : <p>I need to get the user to input the grades of both "boys" and "girls" until they want to stop adding the grades. Than find the average of the boys grades and the average of the girls and print them both separately.</p>

<p>My issue is I don't understand how i'm supposed to make it so the user can add as many grades as they want for both the boys and the girls, and then get both of the averages.</p>

<p>I'm still very new to python and am not sure what the best method for this would be, like would I use <code>while</code> or <code>if</code> in some way that I haven't learned yet?</p>
