Válas Péter wrote:
So the trick is to define the dictionary in separate sessions, not at once.

No.


value = 42
my_dict = {'a': value, 'b': value, 'c': 23, 'd': value, 'e': 97}

will work fine too.



--
Steven

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

Reply via email to