how to make this situation return this result?

Ho Yeung Lee jobmattcon at gmail.com
Sat Jul 1 08:45:17 EDT 2017


just want to compare tuples like index (0,1), (0,2), (1,2) without duplicate
 such as (2,0), (1,0) etc


On Saturday, July 1, 2017 at 7:00:17 PM UTC+8, Peter Otten wrote:
> Ho Yeung Lee wrote:
> 
> > finally i searched dict.values()[index] solved this
> 
> That doesn't look like a good solution to anything -- including "this", 
> whatever it may be ;)
> 
> If you make an effort to better explain your problem in plain english rather 
> than with code examples you are likely tho get better answers.




More information about the Python-list mailing list