In <[email protected]> Jabba Laci 
<[email protected]> writes:

> Let's take this simple exercise:

> "Write a function that receives a list and decides whether the list is
> sorted or not."

> Here the output of the function is either True or False, so I cannot
> test it with my current method.

Make a master input file and a master output file for each exercise.  If
the student program's output matches the master output when run from the
master input, then it is correct.

-- 
John Gordon                   A is for Amy, who fell down the stairs
[email protected]              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to