#!/usr/bin/env python # -*- coding: iso-8859-1 -*- """99 Bottles of Beer, by Ezequiel Pochiero. (Requires Python 2.5)""" song='' for n in range(99,0,-1): s1= `n`+(' bottles' if n!=1 else ' bottle') s2 = (`n-1` if n-1!=0 else 'no more')+(' bottles' if n!=2 else ' bottle') song += '%s of beer on the wall, %s of beer. \n