I've been trying to teach myself Python. Here is a simple program I wrote to make the computer print the lyrics to the song "99 Bottles of Beer:"
## a program for printing the lyrics to "99 Bottles of Beer"
## using a simple xrange loop
for beer_bottles in xrange (99, 2, -1):
print str(beer_bottles) + " bottles of beer on the wall,"
print str(
(
Read more... )