Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #78656
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.013 |
| X-Spam-Evidence | '*H*': 0.97; '*S*': 0.00; 'subject:Python': 0.06; 'cc:addr:python-list': 0.11; 'python': 0.11; 'def': 0.12; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'triangle': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'code,': 0.22; 'cc:addr:python.org': 0.22; 'print': 0.22; 'integer': 0.24; 'cc:2**0': 0.24; 'asking': 0.27; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'code': 0.31; 'question:': 0.31; 'there.': 0.32; 'another': 0.32; "i'd": 0.34; 'but': 0.35; 'received:google.com': 0.35; 'right?': 0.36; 'doing': 0.36; 'step': 0.37; 'how': 0.40; 'range': 0.61; "you're": 0.61; 'to:none': 0.92 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=mipNXaoH4OHgs+KstL2KJATl5eRUwnPBbLdOHpuuJeI=; b=eV4FyjAJSsu7NMiyCJvpGVuvQJqcxdVR/Zpml63ScDowFhMyUWGvx+HgIKWqNk3JYU dICWdu3xseDDjadqR582tYQJ8UEH5aCwFh2isJmgwT2kEss+vfWAjEEIOja51wI2Hknh Y1TvUi2IG11vkK4ADcfUhb/565GaVRugjw+ytWtF0TjPZhP3tRo6JYx4soCW5WcAb56B 8zbudUIMtKP7yMB3698/qXsC4ht1561rZYlJtIwBE9Fwx29hyJqJYCP1vXe+m7LuSVBl EegsloZr6unoHL9gf5K6wrqyzkskyHxpgCyiEFDN4JuvvuzndrynqG6yGLXGmlv8djDu /2JQ== |
| MIME-Version | 1.0 |
| X-Received | by 10.51.17.2 with SMTP id ga2mr244241igd.2.1412358459620; Fri, 03 Oct 2014 10:47:39 -0700 (PDT) |
| In-Reply-To | <2c198e3c-ddee-47a9-b744-a35c726cdfd2@googlegroups.com> |
| References | <3c9504c9-6906-4358-b14c-5764bba70a65@googlegroups.com> <mailman.14577.1412358154.18130.python-list@python.org> <2c198e3c-ddee-47a9-b744-a35c726cdfd2@googlegroups.com> |
| Date | Sat, 4 Oct 2014 03:47:39 +1000 |
| Subject | Re: Python Basics |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.14578.1412358462.18130.python-list@python.org> (permalink) |
| Lines | 16 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1412358462 news.xs4all.nl 2860 [2001:888:2000:d::a6]:37957 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:78656 |
Show key headers only | View raw
On Sat, Oct 4, 2014 at 3:44 AM, <diarmuid.higgins@mycit.ie> wrote:
> 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!!!!
Okay! You're very close, and I can see what's going on there. But I'd
like you to learn how to ask questions, as well as how to write Python
code, because both skills are important to your future. :) So I'm
going to get you to take another step in asking the question: What is
it that your code isn't doing right?
ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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