How to repeat a loop once it is finished

Denis McMahon denismfmcmahon at gmail.com
Thu Oct 15 10:19:29 EDT 2015


On 2015年10月15日 14:51:05 +0100, Mark Lawrence wrote:
> On 15/10/2015 14:31, abbasmo at 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, denismfmcmahon at gmail.com


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /