Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #64239

Python Simple program

Newsgroups comp.lang.python
Date 2014-01-18 10:00 -0800
Message-ID <a2e2f4a7-4c86-440e-839f-09745735efe0@googlegroups.com> (permalink)
Subject Python Simple program
From indar kumar <indarkumar59@gmail.com>

Show all headers | View raw


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.

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


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