Re: [Tutor] Help! (solution)

2011-03-05 Thread Alan Gauld
michael scott jigenbak...@yahoo.com wrote ...if something about my code could be better, please tell me, OK, Here are some stylistic things... def production_time(): creation_time = 127 time_till_rest = 18161 I'd move the constants out of the function to global level. And it is

Re: [Tutor] Help! (solution)

2011-03-04 Thread michael scott
I know that the question has long been answered (and probably due today), but I solved it and it was great exercise for me (as I'm not in college at the moment and I need assignments like these to gauge my skills). I'll probably build a gui for it tomorrow, just so I can practice at that. I