On 01/05/2014 08:52 AM, Mark Lawrence wrote:
On 05/01/2014 07:09, Keith Winston wrote:

Thanks all, interesting. I'll play more with tuples, I haven't knowingly
used them at all...

Keith


Homework for you :)  Write a line of code that creates a list of say 3 or 4
integers, then write a line that creates a tuple with the same integers.  Use
the dis module to compare the byte code that the two lines of code produce.  The
difference is interesting.

Interesting indeed. Thanks Mark, for the suggestion :-)
denis
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to