On Thu, 15 Oct 2015 14:51:05 +0100, Mark Lawrence wrote: > On 15/10/2015 14:31, abba...@centralfoundationboys.co.uk wrote: >> if you could write a small piece of code for me it would great >> >> > If you used your favourite search engine in an attempt to write the code > before you ask questions about it, then that would be even better. > Knowing what piece of code would also help us to help you. As a starter > here is a small piece of code. > > a = 1 > > Is that adequate?
If not, perhaps: b = [c for c in range(20)] d = {e:b for e in b} can help? -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list