1 #!/usr/bin/env python# -*- coding: utf-8 -*-a = input()print "千位是: %s" % str(a)[0]print "百位是: %s" % str(a)[1]print "十位是: %s" % str(a)[2]print "个位是: %s" % str(a)[3]当运行程序时,在控制台输入2345,输出结果是:千位是: 2千位是: 3千位是: 4千位...