Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!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.019 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'defaults': 0.07; '[1]:': 0.09; 'lawrence': 0.09; 'parameter': 0.09; 'cc:addr:python-list': 0.11; '>>on': 0.16; 'btw': 0.16; 'empty,': 0.16; 'iterable': 0.16; 'subject:after': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; '(not': 0.18; 'module': 0.19; '>>>': 0.22; 'cc:addr:python.org': 0.22; 'print': 0.22; 'math': 0.24; 'question': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'idea': 0.28; 'function': 0.29; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; '(which': 0.31; 'code': 0.31; '100000': 0.31; '>>>>': 0.31; 'subject:what': 0.31; 'stuff': 0.32; 'run': 0.32; 'url:python': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'url:listinfo': 0.36; 'thanks': 0.36; 'url:org': 0.36; 'project': 0.37; 'nov': 0.38; 'pm,': 0.38; 'help,': 0.39; 'subject:can': 0.39; 'url:mail': 0.40; 'new': 0.61; 'numbers': 0.61; 'range': 0.61; 'sum': 0.64; 'more': 0.64; 'otten': 0.84; 'start.': 0.84; 'strings)': 0.84; 'joel': 0.91 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:to :cc:content-type; bh=OCkbS9yEpOb125/oWeRCqFclNEm+r99mahAoaNsnk0c=; b=YG6e3j8u3hR7UPWpGZUY0s3O37NFJYtYTQLcSYyskiIzGyv6Urm4s524l8Xunu6b+Y Tx9888LnOtI16czppO+jCtB94GGlYARanwyuskVlzjxg6fgku1dNjazNBgzmgx9nQe50 +m7vmuZyzJF9z1HOgrBYgup8abLn/TLs4XgQUOJzi1fHYgK0mEFn1PdarOabv2tnQjxo BlOkKt4P/OanZ4TePTQtWC58z4cqS0Vq/PFppfGCtPn3amQmHLEHlNszgdx1tdYuqZIS zPkRApM0dZZmTZMoV2Q/nyRLpLelAD2De0wW/cu7oLfpQyD0wciLalaDSG/g7oY1YeMT /fEg== MIME-Version: 1.0 X-Received: by 10.140.97.37 with SMTP id l34mr57095744qge.43.1414965653381; Sun, 02 Nov 2014 14:00:53 -0800 (PST) In-Reply-To: References: <957d3844-9b9a-47b7-892f-b7660aa40d88@googlegroups.com> <4c0d5apoa3455vmkgdtp7nn25pl85fgmoh@4ax.com> Date: Sun, 2 Nov 2014 17:00:53 -0500 Subject: Re: what can i do to improve my skill after finished python course on codecademy From: Joel Goldstick To: Seymore4Head Content-Type: text/plain; charset=UTF-8 Cc: "python-list@python.org" 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: 56 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1414965656 news.xs4all.nl 2974 [2001:888:2000:d::a6]:55504 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:80140 On Sun, Nov 2, 2014 at 4:03 PM, Seymore4Head wrote: > On Sun, 02 Nov 2014 19:42:49 +0000, Mark Lawrence > wrote: > >>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. > > BTW I have the answer to question 2, but there is no way I would run > the code on numbers much more than 100000 and it wants the answer for > 4,000,000. > > -- > https://mail.python.org/mailman/listinfo/python-list Seymore, please don't hijack a thread. Start a new one -- Joel Goldstick http://joelgoldstick.com