They look the same when printed out, but different when compared. Most likely, the unicode对象,一个是string对象,用type(obj)method is to check the specific types of the two values you want to compare. If you want to fully understand the coding issue, you can refer to the first two answers below this question.
If you just want the format to look good. . .
They look the same when printed out, but different when compared. Most likely, the
unicode
对象,一个是string
对象,用type(obj)
method is to check the specific types of the two values you want to compare.If you want to fully understand the coding issue, you can refer to the first two answers below this question.
Loop output and that’s it.