creating sets of tuples in python

mySet = set(itertools.product(range(1,51), repeat=2))

OR

mySet = set((x,y) for x in range(1,51) for y in range(1,51))

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)