結果 : validate type of variable python