Sujet : Re: Tabs As Syntax
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.os.linux.advocacyDate : 22. Mar 2024, 05:43:56
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <utiups$2n0n3$3@dont-email.me>
References : 1 2 3 4 5 6
User-Agent : Pan/0.155 (Kherson; fc5a80b8)
On 22 Mar 2024 03:06:35 GMT, rbowman wrote:
On Thu, 21 Mar 2024 07:22:01 -0000 (UTC), Lawrence D'Oliveiro wrote:
On 21 Mar 2024 07:12:03 GMT, rbowman wrote:
Whoopee! Python wins by one line! Unless of course
for (i=0; i<10; i++) {printf("foo[%d] is %s\n", i, foo[i]);}
for i in range(10): print(f"foo[{i} is {foo[i]}")
is syntactically valid Python.
Yes it is. The PEP8 police will be paying you a visit shortly.
They know me. They’ve seen my “#end” comments, and they have been scarred
for life. They don’t come round any more.