Back to index

python3.2  3.2.2
Functions | Variables
beer Namespace Reference

Functions

def bottle

Variables

int n = 100

Function Documentation

def beer.bottle (   n)

Definition at line 16 of file beer.py.

00016 
00017 def bottle(n):
00018     if n == 0: return "no more bottles of beer"
00019     if n == 1: return "one bottle of beer"
00020     return str(n) + " bottles of beer"


Variable Documentation

tuple beer.n = 100

Definition at line 12 of file beer.py.