Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connectionsPath: ...!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: DFS Newsgroups: comp.os.linux.advocacy Subject: Re: Tabs As Syntax Date: Thu, 21 Mar 2024 09:22:06 -0400 Organization: A noiseless patient Spider Lines: 24 Message-ID: References: <17be73f7d87a06e9$246570$4075406$802601b3@news.usenetexpress.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 21 Mar 2024 13:22:07 -0000 (UTC) Injection-Info: dont-email.me; posting-host="a1039f8efe77cd4dd3e555af4710f67d"; logging-data="2350892"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18yrktppHNwEqhvziY7wKxY" User-Agent: Betterbird (Windows) Cancel-Lock: sha1:wj43KothANRXzPzGMGJOb2ITpkk= In-Reply-To: Content-Language: en-US Bytes: 1780 On 3/21/2024 3:12 AM, rbowman wrote: > On Wed, 20 Mar 2024 10:25:39 -0400, DFS wrote: > >> Python style (forced indents, no forced brackets) is shorter and more >> readable than C style (no forced indents, forced brackets). > > for i in range(10): > print(f"foo[{i} is {foo[i]}") > > for (i=0; i<10; i++) { > printf("foo[%d] is %s\n", i, foo[i]); > } > > Whoopee! Python wins by one line! A win is a win is a win. > Unless of course > > for (i=0; i<10; i++) {printf("foo[%d] is %s\n", i, foo[i]);} for i in range(2,11): print("%d made %d look like a foo^2" % (i*i,i))