Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #64241
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.033 |
| X-Spam-Evidence | '*H*': 0.94; '*S*': 0.00; 'subject:Python': 0.06; 'input,': 0.09; 'kumar': 0.09; 'means,': 0.09; 'cc:addr:python- list': 0.11; 'jan': 0.12; '5:00': 0.16; 'format:': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'program?': 0.16; 'subject:program': 0.16; 'varies': 0.16; 'employer': 0.16; 'student': 0.16; 'wrote:': 0.18; 'advance.': 0.19; 'entered': 0.20; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; 'code': 0.31; 'prints': 0.31; 'us!': 0.31; "we're": 0.32; 'quite': 0.32; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'subject:Simple': 0.36; 'doing': 0.36; 'should': 0.36; 'somebody': 0.38; 'how': 0.40; 'read': 0.60; 'no.': 0.61; 'you.': 0.62; 'making': 0.63; 'information': 0.63; 'more': 0.64; 'different': 0.65; 'prompt': 0.68; 'yourself': 0.78; 'cheating': 0.84; 'homework': 0.84; 'learn.': 0.84; 'to:none': 0.92; 'yourself,': 0.95 |
| 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=FMF8MjBLdeBvFHPSPopiabmdMcyShRTGEBgDfU2oNIY=; b=NNEdLyeJKdlUvb4835k5UPJCNd4ewfsutY3iIA+OELwfy4PhKgTVLGvi+yPY93Jo01 /HcwYIQCDv/8GmCM33hZCRR7CxVu7oGnxma3iIEbuQDGm5lx8civY+83TH4Iycr7Te34 XW5Ur2QFl2KbZP0mFYF5Yc7JZMxE1oLpd1t5QrQ0W1HZCN+QRQ7H3BenmNTXl+x4vsaN vYwq2OIIC3DLxFg5/Ghzwyn6VLpwiESs35TTeUFsWry4Hmjw56QbJMzqWmGWNGJN0WI5 FU1fCufIoMXmlMa+az0xynwO5OUqEBR4SiJpIKQ2aiRTCkaFpO9VcfqcYdKwGWF3hBk9 ohAg== |
| MIME-Version | 1.0 |
| X-Received | by 10.68.12.138 with SMTP id y10mr9136461pbb.101.1390068685089; Sat, 18 Jan 2014 10:11:25 -0800 (PST) |
| In-Reply-To | <a2e2f4a7-4c86-440e-839f-09745735efe0@googlegroups.com> |
| References | <a2e2f4a7-4c86-440e-839f-09745735efe0@googlegroups.com> |
| Date | Sun, 19 Jan 2014 05:11:24 +1100 |
| Subject | Re: Python Simple program |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.5680.1390068689.18130.python-list@python.org> (permalink) |
| Lines | 19 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1390068689 news.xs4all.nl 2894 [2001:888:2000:d::a6]:47225 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:64241 |
Show key headers only | View raw
On Sun, Jan 19, 2014 at 5:00 AM, indar kumar <indarkumar59@gmail.com> wrote: > Hello, I am a newbie. Can somebody help me write the code for following program? > > > Write a program that takes student grades and prints out the GPA. The information is input, one student per line in the format: <student id> <course1 grade> <course2 grade> ... > The number of students is not known in advance. You should prompt the user for more until they enter an empty line. The number of courses per student varies and is also not known in advance. You should read as many grades as are entered on the line. No. This is homework, and you should do it yourself - otherwise you are cheating yourself, cheating on your course, and ultimately, cheating an employer by making him/her think you know how to do something when you don't. If you write the code yourself and then have questions, then by all means, bring those questions to us! We're happy to help you learn. But that's quite different from outright doing your homework for you. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Python Simple program indar kumar <indarkumar59@gmail.com> - 2014-01-18 10:00 -0800
Re: Python Simple program Chris Angelico <rosuav@gmail.com> - 2014-01-19 05:11 +1100
Re: Python Simple program Roy Smith <roy@panix.com> - 2014-01-18 13:27 -0500
Re: Python Simple program indar kumar <indarkumar59@gmail.com> - 2014-01-18 10:49 -0800
Re: Python Simple program Roy Smith <roy@panix.com> - 2014-01-18 14:07 -0500
Re: Python Simple program Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-01-18 15:25 -0500
csiph-web