On 19/02/16 07:51, Marco Soldavini wrote:
> Sorry, Here my code in plaintext
> ...

thanks

>> Better is to use a dictionary with your "variables" 

>> data[keyName].append(value) 
> Ok so I will look more into dictionaries, it is like hash tables?

Exactly.

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to