Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!fx07.iad.POSTED!not-for-mail Message-ID: <542EEC28.1010702@tobiah.org> From: Tobiah User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 Newsgroups: comp.lang.python Subject: Re: Python Basics References: <3c9504c9-6906-4358-b14c-5764bba70a65@googlegroups.com> <2c198e3c-ddee-47a9-b744-a35c726cdfd2@googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Lines: 32 X-Complaints-To: abuse@teranews.com NNTP-Posting-Date: Fri, 03 Oct 2014 18:34:16 UTC Organization: TeraNews.com Date: Fri, 03 Oct 2014 11:34:16 -0700 X-Received-Bytes: 1308 X-Received-Body-CRC: 4087205345 Xref: csiph.com comp.lang.python:78659 > Hi Chris > I can't get the code to display the output as it should. > I can get it to display like this: > 122333444455555 or I can get it to display like this: > 1 > 2 > 2 > 3 > 3 > 3 > 4 > 4 > 4 > 4 > 5 > 5 > 5 > 5 > 5 > but not as has been asked in the question. > Cheers > Diarmuid > Hint: >>> 'a' * 4 'aaaa'