Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Angelico Newsgroups: comp.lang.python Subject: Re: Help with this program??? Date: Fri, 27 Nov 2015 20:57:55 +1100 Lines: 17 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de 7TC2VN1TGFicyXLEf+Gc0QZOeg/DAPfsRmByAbhto5Hg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.015 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'expressions': 0.07; 'cc:addr:python-list': 0.09; '(first': 0.09; 'subject:Help': 0.10; 'suggest': 0.15; '(via': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'justin': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:???': 0.16; 'subject:program': 0.16; 'valid.': 0.16; 'wrote:': 0.16; 'input': 0.18; 'student': 0.20; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'keyboard': 0.22; 'appears': 0.23; 'code.': 0.23; 'header:In-Reply-To:1': 0.24; 'fri,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'function': 0.28; 'actual': 0.28; 'regular': 0.29; 'code': 0.30; 'similar': 0.33; 'editor': 0.34; 'file': 0.34; 'list': 0.34; 'received:google.com': 0.35; 'text': 0.35; 'nov': 0.35; 'replace': 0.35; 'should': 0.36; 'received:209.85': 0.36; 'notes': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:209.85.213': 0.37; 'received:209': 0.38; 'data': 0.39; 'build': 0.40; 'mark': 0.40; 'subject:with': 0.40; 'still': 0.40; 'your': 0.60; 'python-list': 0.66; 'saving': 0.70; '100': 0.79; 'chrisa': 0.84; 'exam': 0.84; 'subject:this': 0.85; 'to:none': 0.91; 'hand,': 0.97 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=AII0V3EhwD/WyEFR1bqUrw3l0YXgbQ0pJvB6bVjFyQw=; b=NoO+enS02C5PAUk+5lP63TlswlvIl6UTVmOcGa6oTArOwwlvf1+lV7hh/1bFLCI/gc CRFqHUk4wvTZbaDR+MCze7/0UnWTctKsuXqvTV6t7j5w1Zjbp+vvglESRZF3kktp5G8p QDGTStCKeOWkP5b9I6sNZFQn+iFZvcjRVSTrt/Bli2M/xBXrK0SSeovbJ0cwZ0Sjk29z MfP2Xw4utbwrIoD6e3GYr0I54ZUPLBbaHDhErknikQgyEfXeCBfvOuj1GQPaaultzxxg KW3Q9cNkxyQUmDFCTnvE5R7rQtJ6HaTMHYS5ZUp4LHxE++dzJpbGbb7iKfXR3DU9Ll4d yWUA== X-Received: by 10.50.225.38 with SMTP id rh6mr7379607igc.13.1448618275590; Fri, 27 Nov 2015 01:57:55 -0800 (PST) In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:99633 On Fri, Nov 27, 2015 at 8:43 PM, justin bloomer via Python-list wrote: > Your program should contain a function that: > 1. Seeks input from the user (via the keyboard); > 2. To build a list of student exam results; > 3. For each student their name (first and last), student number, and mark > out of 100 should be captured; > 4. For full marks regular expressions or similar mechanisms should be used > to ensure the data appears valid. I suggest you start by opening up a programmer's editor and saving an empty file under the name "examresults.py". Then take your keyboard in hand, and start writing code. The above text would make a good set of "stub comments" - notes to indicate what parts of code you still need to write - which you can progressively replace with actual code. ChrisA