Warning: LiteratePrograms is currently undergoing a license migration to Creative Commons CC0 1.0. All content will be erased unless its authors agree to release it under CC0. If you wish for your contributed content to be retained, please add a statement to your user page that you release all your contributions under CC0 1.0, and inform me via Special:Emailuser/Dcoetzee. You can also re-add content that you created after the migration, provided that you are the sole author. At this time all article namespace content is already migrated. Based on Donald Knuth's concept of literate programming, LiteratePrograms is a collection of code samples displayed in an easy-to-read way, collaboratively edited and debugged, and all released into the public domain under the Creative Commons CC0 1.0 waiver (see Copyrights) so that anyone can use our code and text for any purpose without restriction. If you're interested in contributing your own programs, you can read about how to write an article.
Related: Ladies Learning Code