标签: python string
我尝试过:
"00:30:00">"00:15:00" => True "00:15:00">"00:15:01" => False "01:00:00">"00:30:00" => True "01:00:00"=="00:30:00" => False
当我输入字符串时,python如何知道哪个更大? 由于长度相同,难道不应该算字符串相等吗?
python是否以某种方式识别出它是时间格式?