Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Angelico Newsgroups: comp.lang.python Subject: Re: Starting Out and Need Help with Basics. Date: Sun, 3 Jul 2016 07:17:26 +1000 Lines: 21 Message-ID: References: <18f1fc40-e6f5-4bfe-8601-746c7b826c66@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de NmsQb8wvMEcNrWgR3eahQwexXNCv591Pu4uH1PZ5rOsw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.022 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'cc:addr:python-list': 0.09; 'brackets': 0.09; 'type:': 0.09; 'subject:Help': 0.10; 'python': 0.10; 'do,': 0.15; '2016': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'something.': 0.16; 'wrote:': 0.16; 'else,': 0.18; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'am,': 0.23; 'bit': 0.23; 'this:': 0.23; 'tried': 0.24; 'downloaded': 0.24; 'header:In-Reply-To:1': 0.24; "i've": 0.25; 'message- id:@mail.gmail.com': 0.27; 'colon': 0.29; 'program,': 0.29; "i'm": 0.30; 'print': 0.30; "we're": 0.30; "i'd": 0.31; 'noticed': 0.32; 'says': 0.32; 'received:google.com': 0.35; 'but': 0.36; 'should': 0.36; 'basic': 0.36; 'subject:: ': 0.37; 'doing': 0.38; 'someone': 0.38; 'subject:with': 0.40; 'save': 0.60; 'high': 0.60; 'subject:Need': 0.61; 'school': 0.62; 'programs': 0.62; 'more': 0.63; 'decided': 0.66; 'jul': 0.72; 'hand': 0.82; 'chrisa': 0.84; 'working,': 0.84; 'to:none': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:cc :content-transfer-encoding; bh=VFH/ZRi2OXfUBxliuhE8iaUC3Ka+Kk+6/vhzyEUltJ4=; b=kvOqeIveNlS9GgVQV2jLITYDrPMkj2nH+dPRA78GpmwyTgT8p13efdsIpY0uZ/4cWK BXYsK8eEM2nwjOk1XxIiqqf/VdEcY4NuWYblv88lost4WbmgZCiz7gBegiwP4s8t4fuJ 6/9HQJkyim8xYKgRJn3lS8v5r/OSYJBit9Hf9npCweva+r9oUaY2XqG5Fp3sOyvwGRev Qh0NipCt9xLsd1ilKVjP0ujb8y6CJsl60+EJJ+rsFnqfJcDjr0ZSxzGeSIzsUQIoyn0L tjJKVOQXBbOVXWyqkleTdcoUjepYv9zGoLl6GQWMFwGnMAk30QAf1wIaSbOiGwZ/KxiK 4pNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:cc:content-transfer-encoding; bh=VFH/ZRi2OXfUBxliuhE8iaUC3Ka+Kk+6/vhzyEUltJ4=; b=g4e8iRQ+7r8AOYjtx72mFBLVMFX5FlnEbX27oTV5AO1jd2iDINZIr4LqdaOvjKiiXu CVDmrHKV8dddbHMBzz/BC4kiqOAhjSD6xEtn8EAt74QjwttxQViS+i2Dfws/xJrxn5jW LJfvbja5iHg8IPCU8p38n9jXZT/INohtYnNtBqMhBcB7ErcCPStQ+WMO3rUMMjAdJiG3 YkxElgr8kGZD1uWOgERl/edopIywppqnnepC+hJgEJdd/c6jbaCM53JVGEXaCkxbADDE 3ITgtP0MxCkXpqyP8YD19BDZuD6q7zellbNGOUSFH5CkXckFA/mvkii84Vt2BX54EAbB NykA== X-Gm-Message-State: ALyK8tLXwygJZ8erFRkLLTJcwpLxz4JB1z6LxUS+CwPxRjoadHcuZWdtGCt0xTBqeT4jxw8c9ct7R4RFueuT0g== X-Received: by 10.194.70.41 with SMTP id j9mr3863028wju.30.1467494247522; Sat, 02 Jul 2016 14:17:27 -0700 (PDT) In-Reply-To: <18f1fc40-e6f5-4bfe-8601-746c7b826c66@googlegroups.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <18f1fc40-e6f5-4bfe-8601-746c7b826c66@googlegroups.com> Xref: csiph.com comp.lang.python:110964 On Sun, Jul 3, 2016 at 7:13 AM, CHM Lyrics wrote= : > I am in fifth year at secondary school (senior years in high school). We'= ve been doing basic programs in Python at school, but we're now on a 6 week= holiday (Summer Holidays). So I decided I would try and download Python an= d learn a bit more while I'm not doing anything. I have now downloaded it, = however, I have immediately noticed something. > > For example, what I know is, is that if you were to type: > print "Welcome to Python!" > And nothing else, it would ask you to save the program, which I'd do, but= then it just says there's an invalid syntax. I've tried adding a colon aft= er 'print' and I've tried adding brackets around "Welcome to Python!". But = nothing is working, can someone give me a hand please. > Did you use the right brackets? It should look like this: print("Welcome to Python!") ChrisA