How to check if a variable is string or integer?

前端 未结 0 1045
暗喜
暗喜 2021-01-15 19:44

I\'m trying to make a password generator in python and I need to know if a variable is an integer or string.

I have used the isinstance method but it did

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