結果 : check type of variable python if statement