Python automatic assessment