Sharedsupport / 2015-05-19-154505-sparse.sagewsOpen in CoCalc
Authors: Harald Schilly, ℏal Snyder, William A. Stein
License: GNU General Public License v3.0
Description: Examples for support purposes.
keys = [(0,1),(1,2)] # the length of keys maybe very long values = [0,1] # values have the s
dict(zip(keys,values))
{(0, 1): 0, (1, 2): 1}