Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Grading tool
#3
You should remove these two functions:

def max(list):
    return max(list)
 
def min(list):
    return min(list)
Since they merely pass their arguments to another function, they aren't adding any value. Plus, they will likely cause errors and infinite recursion because they're either calling themselves (which calls themselves, which calls themselves, ...) or due to an ambiguous name since the functions max() and min() already exist.
Reply


Messages In This Thread
Grading tool - by Stuffed_crust - Nov-16-2018, 02:31 AM
RE: Grading tool - by Larz60+ - Nov-16-2018, 02:47 AM
RE: Grading tool - by stullis - Nov-16-2018, 02:59 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Homework Help - Simple Grading System Segovia 7 7,956 Jul-24-2018, 10:55 PM
Last Post: Segovia

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020