Personal tools
University Computing Service

Information & documentation

birds

#!/usr/bin/python

# Dictionary recording number of sightings of particular type of bird
species_to_number = {
    'bullfinch': 4,
    'buzzard': 17,
    'chaffinch': 13,
    'chicken': 10,
    'condor': 2,
    'crow': 9,
    'dodo': 0,
    'dove': 16,
    'duck': 19,
    'eagle': 2,
    'egret': 1,
    'flamingo': 8,
    'gannet': 11,
    'goldfinch': 8,
    'goose': 18,
    'goshawk': 7,
    'grebe': 14,
    'grouse': 10,
    'hawk': 8,
    'heron': 15,
    'hoopoe': 2,
    'magpie': 3,
    'mockingbird': 10,
    'moorhen': 11,
    'osprey': 16,
    'ostrich': 0,
    'owl': 10,
    'parrot': 3,
    'penguin': 5,
    'pheasant': 14,
    'pigeon': 0,
    'raven': 8,
    'robin': 7,
    'rook': 10,
    'seagull': 10,
    'sparrow': 18,
    'swallow': 16,
    'swan': 12,
    'swift': 6,
    'tern': 14,
    'thrush': 7,
    'toucan': 5,
    'vulture': 1,
    'warbler': 1,
    'wren': 10
    }