[Tutor] New to programming and python first minimilistic program (Bottles of beer), , please comment!

Emile van Sebille emile at fenx.com
Wed Jun 17 23:46:36 CEST 2009

On 6/17/2009 1:46 PM matthew andriani said...
> Hi Guys,
> I wrote this program for some practice to get into python..I'm trying to 
> find fun ways to learn the language so if anyone has a challenge on this 
> basic level using loops that sounds exciting please let me know.. 


How about writing a sort utility?  I know there are easy ways in python, 
but as an exercise, put the words from the second quoted line above in 
alpha order by examining each word.  Or how about enumerating the 
possible outcomes of throwing three dice?  Once that's done, leverage 
python's capabilities and see how short a program will give the same 


More information about the Tutor mailing list