Home > other > Python does not perform an if statement
Python does not perform an if statement
Time:09-24
Code as shown in figure, the type of the value of the dictionary are not sure, I want to make it each time, first check the value value types, so that the output is a string, but now it seems that it cleared the if check statement, output is a list of what is going wrong, what should I do??
CodePudding user response:
Just like the
CodePudding user response:
The if statement you write wrong Remove the list of quotes a try
CodePudding user response:
Such a small place, do not pay attention to true not line, get rid of "is a positive solution