Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #99633
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Help with this program??? |
| Date | 2015-11-27 20:57 +1100 |
| Message-ID | <mailman.171.1448618278.20593.python-list@python.org> (permalink) |
| References | <c3c2d9d0-d59c-489b-bf3e-9488b202225b@googlegroups.com> |
On Fri, Nov 27, 2015 at 8:43 PM, justin bloomer via Python-list <python-list@python.org> 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
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Help with this program??? justin bloomer <rianconnery@googlemail.com> - 2015-11-27 01:43 -0800 Re: Help with this program??? Ben Finney <ben+python@benfinney.id.au> - 2015-11-27 20:57 +1100 Re: Help with this program??? Chris Angelico <rosuav@gmail.com> - 2015-11-27 20:57 +1100 Re: Help with this program??? Laura Creighton <lac@openend.se> - 2015-11-27 11:14 +0100 Re: Help with this program??? Denis McMahon <denismfmcmahon@gmail.com> - 2015-11-27 12:28 +0000
csiph-web