Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #99631 > unrolled thread
| Started by | justin bloomer <rianconnery@googlemail.com> |
|---|---|
| First post | 2015-11-27 01:43 -0800 |
| Last post | 2015-11-27 12:28 +0000 |
| Articles | 5 — 5 participants |
Back to article view | Back to comp.lang.python
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
| From | justin bloomer <rianconnery@googlemail.com> |
|---|---|
| Date | 2015-11-27 01:43 -0800 |
| Subject | Help with this program??? |
| Message-ID | <c3c2d9d0-d59c-489b-bf3e-9488b202225b@googlegroups.com> |
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.
[toc] | [next] | [standalone]
| From | Ben Finney <ben+python@benfinney.id.au> |
|---|---|
| Date | 2015-11-27 20:57 +1100 |
| Message-ID | <mailman.170.1448618262.20593.python-list@python.org> |
| In reply to | #99631 |
justin bloomer via Python-list <python-list@python.org> writes: > Your program should contain a function that: This is a homework assignment, yes? We're not going to write the code for you. If you have a program you already wrote, we can offer feedback on *your* code. You should also collaborate with other classmates in the course, or look into the course material your teacher has provided. -- \ “Why doesn't Python warn that it's not 100% perfect? Are people | `\ just supposed to “know” this, magically?” —Mitya Sirenef, | _o__) comp.lang.python, 2012-12-27 | Ben Finney
[toc] | [prev] | [next] | [standalone]
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2015-11-27 20:57 +1100 |
| Message-ID | <mailman.171.1448618278.20593.python-list@python.org> |
| In reply to | #99631 |
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
[toc] | [prev] | [next] | [standalone]
| From | Laura Creighton <lac@openend.se> |
|---|---|
| Date | 2015-11-27 11:14 +0100 |
| Message-ID | <mailman.172.1448619265.20593.python-list@python.org> |
| In reply to | #99631 |
In a message of Fri, 27 Nov 2015 01:43:53 -0800, justin bloomer via Python-list writes: >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. Hello. We don't do people's assignments for them. However, over on the tutor mailing list, https://mail.python.org/mailman/listinfo/tutor we do help people who are learning Python. You will have to post your code, along with any error messages you get and explain what you were trying to do. Laura
[toc] | [prev] | [next] | [standalone]
| From | Denis McMahon <denismfmcmahon@gmail.com> |
|---|---|
| Date | 2015-11-27 12:28 +0000 |
| Message-ID | <n39i8p$k01$1@dont-email.me> |
| In reply to | #99631 |
On Fri, 27 Nov 2015 01:43:53 -0800, justin bloomer 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. Try writing a function that does the following: 1. Seeks input from the user (via the keyboard); 2. Builds a list of student exam results; 3. Captures name (first and last), student number, and mark out of 100 for each student; 4. Uses regular expressions or similar mechanisms to ensure the data appears valid. -- Denis McMahon, denismfmcmahon@gmail.com
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web