Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.roellig-ltd.de!open-news-network.org!news.muarf.org!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'subject:Python': 0.06; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'wrote': 0.14; 'bit.': 0.16; 'q2.': 0.16; 'received:80.91.229.3': 0.16; 'received:97': 0.16; 'received:plane.gmane.org': 0.16; 'with?': 0.16; 'language': 0.16; 'starts': 0.20; 'programming': 0.22; 'header:X-Complaints-To:1': 0.27; 'function': 0.29; 'trouble': 0.34; 'definition': 0.35; 'keyword': 0.36; 'implement': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'called': 0.40; 'even': 0.60; 'course': 0.61; 'complete': 0.62; 'our': 0.64; 'below.': 0.71; 'subject::': 0.85 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dave Angel Subject: Re:Python Basics Date: Fri, 3 Oct 2014 19:13:17 -0400 (EDT) Organization: news.gmane.org References: <3c9504c9-6906-4358-b14c-5764bba70a65@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: 97.73.240.54 X-Newsreader: PiaoHong.Usenet.Client.VIP:1.62 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1412377843 news.xs4all.nl 2839 [2001:888:2000:d::a6]:47975 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:78672 diarmuid.higgins@mycit.ie Wrote in message: > Hi > > I have just started an introductory course on Python. I have never even seen a programming language before so I am struggling a bit. Our lecturer has given us a number of excercises to complete and I am stuck on the one I have listed below. Please help > Which part are you having trouble with? > Q2. Implement a function called printNumTriangle. A function definition starts with the keyword 'def' -- DaveA