Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: UNSURE 0.314 X-Spam-Level: *** X-Spam-Evidence: '*H*': 0.61; '*S*': 0.24; 'received:192.168.1.101': 0.09; "'))": 0.16; '-1):': 0.16; 'result:': 0.16; 'row': 0.16; 'everyone,': 0.17; 'import': 0.21; 'header:User-Agent:1': 0.26; 'charset:iso-8859-15': 0.26; 'print': 0.32; 'to:addr:python-list': 0.33; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'beside': 0.84; 'blast': 0.84; 'off!': 0.84; 'received:212.52.84': 0.84; 'received:libero.it': 0.84; 'stars': 0.84; 'received:212.52': 0.91 X-CTCH-Spam: Unknown X-CTCH-RefID: str=0001.0A0C0201.512BE9C3.0063,ss=1,re=0.000,fgs=0 X-libjamoibt: 1823 Date: Mon, 25 Feb 2013 23:46:11 +0100 From: leonardo User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 MIME-Version: 1.0 To: python-list@python.org Subject: nested loops Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 26 Feb 2013 10:45:50 +0100 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 33 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1361871951 news.xs4all.nl 6969 [2001:888:2000:d::a6]:43093 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:39939 hi everyone, i have the following program: import time count_timer = int(raw_input('how many seconds?: ')) for i in range(count_timer, 0, -1): print i time.sleep(1) print 'blast off!' this is the result: how many seconds?: 5 5 4 3 2 1 blast off! how can i have it print a row of stars beside each number, like this?: how many seconds?: 5 5 * * * * * 4 * * * * 3 * * * 2 * * 1 * blast off!