How to convert string number to int and avoid the string text before convert

后端 未结 0 1388
温柔的废话
温柔的废话 2020-12-24 08:54

I would like to create the check condition string is string number or not so, how I can do in python

x = "String"
y = "12"

if x is string         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题