Python: determining whether any item in sequence is equal to any other

前端 未结 5 1106
失恋的感觉
失恋的感觉 2021-01-04 19:40

I\'d like to compare multiple objects and return True only if all objects are not equal among themselves. I tried using the code below, but it doesn\'t work. If

5条回答
提交回复
热议问题