solutions

When you can never remember how many days each month has

Write a function that returns the number of days in a given month. (non leap years)

how_many_days_in('December') == 31
how_many_days_in('February') == 28

Test Cases

test june - Run Test

def test_june():
    assert how_many_days_in('June') == 30

test december - Run Test

def test_december():
    assert how_many_days_in('December') == 31

test february - Run Test

def test_february():
    assert how_many_days_in('February') == 28