結果 : check if a string is all digits python