Why is it returning none instead of True or False?

后端 未结 0 1199
孤城傲影
孤城傲影 2020-12-10 04:07

this code is for checking if a word is a palindrome or not, and the decorator check if the word is a string

    def string(w):
        if w != str(w):
                


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