Instead of: for (name,

Instead of:

for (name, value) in zip(desc, data) :
dict[name[0]] = value

Use this:

a_dict = dict(zip(desc, data))

Anonymous (not verified) – Fri, 2007 – 09 – 28 21:18

Reply

Please solve the math problem above and type in the result. e.g. for 1+1, type 2
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
More information about formatting options