Path: csiph.com!usenet.pasdenom.info!gegeweb.org!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'defaults': 0.07; '[1]:': 0.09; 'lawrence': 0.09; 'parameter': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'language.': 0.14; 'empty,': 0.16; 'iterable': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject: \n ': 0.16; 'subject:after': 0.16; 'subject:python': 0.16; 'language': 0.16; 'wrote:': 0.18; '(not': 0.18; 'module': 0.19; '>>>': 0.22; 'print': 0.22; 'header:User-Agent:1': 0.23; 'math': 0.24; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply- To:1': 0.27; 'idea': 0.28; 'function': 0.29; 'am,': 0.29; 'url:mailman': 0.30; '(which': 0.31; '>>>>': 0.31; 'subject:what': 0.31; 'stuff': 0.32; 'url:python': 0.33; 'but': 0.35; 'url:listinfo': 0.36; 'thanks': 0.36; 'url:org': 0.36; 'project': 0.37; 'nov': 0.38; 'to:addr:python-list': 0.38; 'help,': 0.39; 'subject:can': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'url:mail': 0.40; 'numbers': 0.61; 'range': 0.61; 'our': 0.64; 'sum': 0.64; 'charset:windows-1252': 0.65; 'otten': 0.84; 'received:2': 0.84; 'start.': 0.84; 'strings)': 0.84; 'joel': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: what can i do to improve my skill after finished python course on codecademy Date: Sun, 02 Nov 2014 19:42:49 +0000 References: <957d3844-9b9a-47b7-892f-b7660aa40d88@googlegroups.com> <4c0d5apoa3455vmkgdtp7nn25pl85fgmoh@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-2-98-204-224.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 In-Reply-To: <4c0d5apoa3455vmkgdtp7nn25pl85fgmoh@4ax.com> 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: 44 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1414957509 news.xs4all.nl 2874 [2001:888:2000:d::a6]:49783 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:80133 On 02/11/2014 19:10, Seymore4Head wrote: > On Sun, 2 Nov 2014 12:16:11 -0500, Joel Goldstick > wrote: > >> On Sun, Nov 2, 2014 at 10:08 AM, Peter Otten <__peter__@web.de> wrote: >>> Huhuai Fan wrote: >>> >>>> Thanks for your help, but i have no idea to find a project that i can >>>> complete,i am now in perplexed for what to do >>> >>> Then write a small text-based brainstorming app! >>> >>> -- >>> https://mail.python.org/mailman/listinfo/python-list >> >> If you like math puzzles you can do the euler project stuff > > target=1000 > thelist=[] > thesum=0 > for x in range (1,target): > if x%3==0: thelist.append(x) > if x%5==0 and x%3!=0: thelist.append(x) > for x in thelist: thesum+=x > print(thelist) > print (thesum) > In [1]: help(sum) Help on built-in function sum in module builtins: sum(...) sum(iterable[, start]) -> value Return the sum of an iterable of numbers (NOT strings) plus the value of parameter 'start' (which defaults to 0). When the iterable is empty, return start. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence