How to check input value is integer or not?

前端 未结 0 1083
别那么骄傲
别那么骄傲 2021-01-14 05:00

How can I check is number is integers or not?

For example:

number = int(input("Input the number: "))

I want to code somethin

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