<a href="http://www.ideone.com/infch">http://www.ideone.com/infch</a><br>
^ Result of the below code<br><br><div class="gmail_quote">On 29 March 2011 19:50, Raymond Hettinger <span dir="ltr"><<a href="mailto:python@rcn.com">python@rcn.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

from collections import Counter<br>
from itertools import product<br>
<br>
print('\n'.join('*'*(c//2000) for _,c in sorted(Counter(map(sum,<br>
product(range(6), repeat=8))).items())))<br>
<br>
<br>
almost-normally-yours,<br>
<br>
Raymond<br>
<font color="#888888">--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></blockquote></div><br>