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


Groups > comp.lang.python > #78655

Re: Python Basics

X-Received by 10.224.119.202 with SMTP id a10mr6066794qar.9.1412358297824; Fri, 03 Oct 2014 10:44:57 -0700 (PDT)
X-Received by 10.140.37.39 with SMTP id q36mr22808qgq.10.1412358297791; Fri, 03 Oct 2014 10:44:57 -0700 (PDT)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!s7no301271qap.0!news-out.google.com!i10ni60qaf.0!nntp.google.com!s7no301266qap.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.python
Date Fri, 3 Oct 2014 10:44:57 -0700 (PDT)
In-Reply-To <mailman.14577.1412358154.18130.python-list@python.org>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=157.190.68.138; posting-account=4t8ANwkAAAAJU12Ns2EXzN2qdw7mK6RC
NNTP-Posting-Host 157.190.68.138
References <3c9504c9-6906-4358-b14c-5764bba70a65@googlegroups.com> <mailman.14577.1412358154.18130.python-list@python.org>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <2c198e3c-ddee-47a9-b744-a35c726cdfd2@googlegroups.com> (permalink)
Subject Re: Python Basics
From diarmuid.higgins@mycit.ie
Injection-Date Fri, 03 Oct 2014 17:44:57 +0000
Content-Type text/plain; charset=ISO-8859-1
X-Received-Bytes 1787
X-Received-Body-CRC 383390868
Xref csiph.com comp.lang.python:78655

Show key headers only | View raw


def printNumTriangle():
   num = input("Please enter an integer for triangle size:")
   for i in range(1,num+1):
      for j in range (i):
         print i

Cheers!!!!


On Friday, October 3, 2014 6:42:46 PM UTC+1, Chris Angelico wrote:
> On Sat, Oct 4, 2014 at 3:35 AM,  <diarmuid.higgins@mycit.ie> wrote:
> 
> > Our lecturer has given us a number of excercises to complete and I am stuck on the one I have listed below. Please help
> 
> 
> 
> Sure! Show us the code you have so far, and explain what it is you're
> 
> stuck on. Then we can help you. But we're not going to write the code
> 
> for you.
> 
> 
> 
> ChrisA

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