Python String isnumeric() Method. Example. Check if all the characters in the text are numeric: Copy txt = "123123" x = txt.isnumeric() print(x) txt ...
確定! 回上一頁