python判断质数并打印