2021年3月10日星期三

Most efficient way to compare lists Python

How can I compare lists to one another. I am looking to compare the first - fourth digit of two lists. I'm aware of being able to do if list[1] == list[1]: but id assume there is a more efficient way to get it done. Thank you. I don't want to compare the lists overall, just x part of one list to x part of another

https://stackoverflow.com/questions/66576285/most-efficient-way-to-compare-lists-python March 11, 2021 at 12:01PM

没有评论:

发表评论