<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">thanks for the help, it works<br>
<br>
<br>
Il 26/02/2013 10.58, Sven ha scritto:<br>
</div>
<blockquote
cite="mid:CAEH=cXUTM0V30McQP3-e1U_WrXh_GEzjZP4099ERd-i3SNno7Q@mail.gmail.com"
type="cite">
<meta http-equiv="Context-Type" content="text/html;
charset=ISO-8859-1">
<div dir="ltr">
<div>Here's one solution<br>
</div>
<div><br>
import time<br>
count_timer = int(raw_input('how many seconds?: '))<br>
for i in range(count_timer, 0, -1):<br>
<code></code>print i,<br>
</div>
print "*" * i<br>
<div>
time.sleep(1)<br>
print 'blast off!'</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On 25 February 2013 22:46, leonardo <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:tampucciolina@libero.it" target="_blank">tampucciolina@libero.it</a>></span>
wrote:<br>
<blockquote class="gmail_quote">hi everyone,<br>
<br>
i have the following program:<br>
<br>
import time<br>
count_timer = int(raw_input('how many seconds?: '))<br>
for i in range(count_timer, 0, -1):<br>
print i<br>
time.sleep(1)<br>
print 'blast off!'<br>
<br>
<br>
this is the result:<br>
<br>
how many seconds?: 5<br>
5<br>
4<br>
3<br>
2<br>
1<br>
blast off!<br>
<br>
how can i have it print a row of stars beside each number,
like this?:<br>
<br>
how many seconds?: 5<br>
5 * * * * *<br>
4 * * * *<br>
3 * * *<br>
2 * *<br>
1 *<br>
blast off!<span class="HOEnZb"><br>
<br>
<br>
-- <br>
<a moz-do-not-send="true"
href="http://mail.python.org/mailman/listinfo/python-list"
target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</span></blockquote>
</div>
<br>
<br>
<br>
-- <br>
./Sven
</div>
</blockquote>
<br>
</body>
</html>