这是否符合我的想法?在我看来是的.我要求确定.
if n[i] == n[i+1] == n[i+2]: return True
这些是平等的吗?
if n[i] == n[i+1] and n[i+1] == n[i+2]: return True
python
python ×1