revised Python to ex20