p17 in python