cant understand what is wrong with my code : <p>Write a function name " month_days" that receive a parameter(m) which represent a number between 1-12 (months of the year). The function returns how many days in that month[in January(1)there are 31 days'and so on).If the number is not between 1-12 the function will return -1 </p>

<pre><code>def month_days(m):
    if m = 1:
        return 31
    elif m = 2:
        return 28
    elif m = 3:
        return 31
    elif m = 4:
        return 30
    elif m = 5:
        return 31
    elif m = 6:
        return 30
    elif m = 7:
        return 31
    elif m = 8:
        return 31
    elif m = 9:
        return 30
    elif m = 10:
        return 31
    elif m = 11:
        return 30
    elif m = 12:
        return 31
</code></pre>

<p>The IDE shows that there is something wrong with the code and i cant understand whats wrong</p>
