Deutsch   English   Français   Italiano  
<slrnv6nnel.30ai.candycanearter07@candydeb.host.invalid>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: candycanearter07 <candycanearter07@candycanearter07.nomail.afraid>
Newsgroups: comp.lang.python,rec.puzzles
Subject: Re: in Python: (101 102 103 201 202 203 301 302 303 401 402 403 )
Date: Fri, 14 Jun 2024 06:10:06 -0000 (UTC)
Organization: the-candyden-of-code
Lines: 22
Message-ID: <slrnv6nnel.30ai.candycanearter07@candydeb.host.invalid>
References: <v45eka$3s5s4$2@dont-email.me> <87v82hph0u.fsf@nightsong.com>
 <87bk45aw6b.fsf@fatphil.org>
Injection-Date: Fri, 14 Jun 2024 08:10:07 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="a5412a3b682daf598a5e904c68c6451b";
	logging-data="2915018"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+eiZecOorRiRpU8DBgEhAmhV8iTS50kyJ+COlqFhkXmQ=="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:gmTWxBp4/c9QJTK5e4oTiiz/sPU=
X-Face: b{dPmN&%4|lEo,wUO\"KLEOu5N_br(N2Yuc5/qcR5i>9-!^e\.Tw9?/m0}/~:UOM:Zf]%
 b+ V4R8q|QiU/R8\|G\WpC`-s?=)\fbtNc&=/a3a)r7xbRI]Vl)r<%PTriJ3pGpl_/B6!8pe\btzx
 `~R! r3.0#lHRE+^Gro0[cjsban'vZ#j7,?I/tHk{s=TFJ:H?~=]`O*~3ZX`qik`b:.gVIc-[$t/e
 ZrQsWJ >|l^I_[pbsIqwoz.WGA]<D
Bytes: 2101

Phil Carmody <pc+usenet@asdf.org> wrote at 12:01 this Thursday (GMT):
> Paul Rubin <no.email@nospam.invalid> writes:
>> HenHanna <HenHanna@devnull.tb> writes:
>>> is there another (simple) way to write this?
>>
>> Yes, but please consider doing these easy exercises yourself instead of
>> fobbing them onto other people.
>
> Hen's probably just an experimental GPT. You, with your limited
> resources, can never train it.
>
> I'd say you can't beat the verbosity, or lack thereof of just plain zsh/bash:
>   $ echo {1,2,3,4}0{1,2,3}
>   101 102 103 201 202 203 301 302 303 401 402 403
>
> Phil


I /think/ you can replace it with {1...4} and {1...3}? I know there is
some syntax for "range of numbers" but I can't remember it exactly.
-- 
user <candycane> is generated from /dev/urandom