Not quite what's being asked, but I'd suggest re-implementing that using a dict as a quick lookup table. Eg:
month_lut = {
1 : 0,
10 : 0,
2 : 3,
3 : 3,
11 : 3,
4 : 6,
7 : 6,
# more ...
}
month1 = month_lut[month]
Not only does it look more intuitive (to me anyway), you get a KeyError exception (which can be handled properly) if month is invalid instead of failing silently and ending up with an undefined month1.