r/programmingbydoing • u/jimmypopali • May 30 '13
#101 - Month Name (functions).
Hi,
I've been going over this all day and for some reason, I just can't get this to click.
This is my code: http://pastebin.com/rwwKCcdN (most of the stuff in the month_name method is just a result of trying everything and just getting junk at the end...)
I just can't seem to get a certain month (or all months for that matter) to align to a number for the main method to return.
I'm sure it's a simple thing I'm missing.
Thanks.
3
Upvotes
View all comments
Show parent comment
1
u/jimmypopali May 31 '13
Looks like I skipped it for some reason and I have no idea why. Thanks for that.