Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #78659

Re: Python Basics

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> (permalink)
From Tobiah <toby@tobiah.org>
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> <mailman.14577.1412358154.18130.python-list@python.org> <2c198e3c-ddee-47a9-b744-a35c726cdfd2@googlegroups.com> <mailman.14578.1412358462.18130.python-list@python.org> <f6b134d6-892f-4672-92cc-69298b3fabda@googlegroups.com>
In-Reply-To <f6b134d6-892f-4672-92cc-69298b3fabda@googlegroups.com>
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

Show key headers only | View raw


> 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'

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Python Basics diarmuid.higgins@mycit.ie - 2014-10-03 10:35 -0700
  Re: Python Basics Chris Angelico <rosuav@gmail.com> - 2014-10-04 03:42 +1000
    Re: Python Basics diarmuid.higgins@mycit.ie - 2014-10-03 10:44 -0700
      Re: Python Basics Chris Angelico <rosuav@gmail.com> - 2014-10-04 03:47 +1000
        Re: Python Basics diarmuid.higgins@mycit.ie - 2014-10-03 10:54 -0700
          Re: Python Basics Chris Angelico <rosuav@gmail.com> - 2014-10-04 04:04 +1000
          Re: Python Basics Tobiah <toby@tobiah.org> - 2014-10-03 11:34 -0700
  Re: Python Basics Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-03 18:54 -0400
    Re: Python Basics Chris Angelico <rosuav@gmail.com> - 2014-10-04 09:05 +1000
      Re: Python Basics Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-10-04 11:09 +1000
        Re: Python Basics Chris Angelico <rosuav@gmail.com> - 2014-10-04 12:24 +1000
        Re: Python Basics alister <alister.nospam.ware@ntlworld.com> - 2014-10-04 09:10 +0000
        Re: Python Basics Peter Pearson <pkpearson@nowhere.invalid> - 2014-10-04 17:42 +0000
      Re: Python Basics Tobiah <toby@tobiah.org> - 2014-10-09 11:26 -0700
        Re: Python Basics Chris Angelico <rosuav@gmail.com> - 2014-10-10 08:38 +1100
  Re:Python Basics Dave Angel <davea@davea.name> - 2014-10-03 19:13 -0400

csiph-web