#!/usr/bin/env python # encoding: utf-8 # # Copyright (c) 2009 Doug Hellmann All rights reserved. # """ """ #end_pymotw_header import decimal # Tuple t = (1, (1, 1), -2) print 'Input :', t print 'Decimal:', decimal.Decimal(t)