📜  如何比较python代码示例中的字符

📅  最后修改于: 2022-03-11 14:45:41.509000             🧑  作者: Mango

代码示例1
== : This checks whether two strings are equal.
!= ...
< : This checks if the string on its left is smaller than that on its right.
<= : This checks if the string on its left is smaller than or equal to that on its right.
> : This checks if the string on its left is greater than that on its right.