To check if a string can be converted into an int or a float, you can just do the conversion and deal with the consequences if it fails (ValueError).
確定! 回上一頁