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

CodePudding user response:

The
reference 1/f, try _except response:

Just like the

Excellent, thank you!!!!!

CodePudding user response:

Random number group, junction post

CodePudding user response:

refer to fifth floor try _except response:
random number, and post ah

Junction post what you mean? How to "post?

CodePudding user response:

Then forget it! I don't know!

CodePudding user response:

I checked the computer version of the "post, without the function of the mobile version of back I conditions allow, again, is you, you can't run!
  • Related