#!/usr/bin/env python # encoding: utf-8 # # Copyright (c) 2008 Doug Hellmann All rights reserved. # """ """ __version__ = "$Id$" #end_pymotw_header import string leet = string.maketrans('abegiloprstz', '463611092572') s = 'The quick brown fox jumped over the lazy dog.' print s print s.translate(leet)