Path: ...!feed.opticnetworks.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: HenHanna Newsgroups: comp.lang.python,rec.puzzles Subject: in Python: (101 102 103 201 202 203 301 302 303 401 402 403 ) Date: Sun, 9 Jun 2024 16:42:02 -0700 Organization: A noiseless patient Spider Lines: 8 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 10 Jun 2024 01:42:02 +0200 (CEST) Injection-Info: dont-email.me; posting-host="fdf3da398add0912fb8385f840f76bc6"; logging-data="4069252"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19wZqi9YzvB9oiq4j4WABi9aqFyu5mcFHw=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:i5acQRA1TgK2pU4498BxUnuPUAE= Content-Language: en-US Bytes: 1156 # (101 102 103 201 202 203 301 302 303 401 402 403 ) print( [ x+i for x in range(100,401,100) for i in range(1,4) ] ) is there another (simple) way to write this?