Re: [Tutor] return values function thanks

2011-04-23 Thread Alan Gauld
"Lea Parker" wrote Hi Alan Thanks once again for your help. Lea You are welcome but please when replying trim out the irrelevant stuff from the digest. Remember that some people either pay for their bandwidth or have a cap on usage (especially on mobile accounts) so sending lots of junk

[Tutor] return values function thanks

2011-04-22 Thread Lea Parker
on that is as difficult to read as Perl? >> I want to use matplotlib (or similar) to plot an equation in >> (y=mx+b) or standard form (Ax + By = C). I could make two points >> out of those manually, but I was wondering if anyone knew of an >> easier way. Thanks.

Re: [Tutor] return values function

2011-04-22 Thread Alan Gauld
"Lea Parker" wrote Write the following functions in the program: * Calc_average: This function should take five test scores as parameters, and return the average score. Note that you are supposed to write a function to do this not just do it inline. *determine_grade; this function shoul

[Tutor] return values function

2011-04-22 Thread Lea Parker
Hello I am hoping someone can put me on the right track. The code below includes the assignment question at the beginning. I seem to have been able to calculate average ok, but what I can't seem to do is sort it so it will return a grade for each result. Can you give me some advice to h