On 10/21/2013 01:16 PM, Steven D'Aprano wrote:
On Sun, Oct 20, 2013 at 09:15:05PM -0500, Sammy Cornet wrote:
Thank you for help Steven! I intend to correct it. But also I would
like to know if I wrote the correctly in order to the output that I'm
looking for?
I don't know, I didn't study your code in that much detail.
Why don't you fix the problems you already know about, then try running
it, and see if it works as you expect?
That is the normal process of programming:
1) write some code
2) fix the bugs until it will run
3) test if it works correctly
4) repeat until done
I'd like to upgrade that process :D ...
1) think about your problem
2) if there are some heplful libraries that can make it way easier, use them
3) write some code
4) fix the bugs until it'll run
5) write unittests
6) test if it works correctly and if unittests pass
7) repeat until done
Bye :)
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor