isinstance returning False when I expect it to return true

后端 未结 0 1952
梦毁少年i
梦毁少年i 2020-12-19 21:18

I am pretty new to Python. I\'m just trying out a piece of code where the expected behaviour is:

It checks if an user input is an integer and if yes, outputs the squa

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