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 connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <tnrml5$kgiv$1@dont-email.me>
Deutsch   English   Français   Italiano  
<tnrml5$kgiv$1@dont-email.me>

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

Path: ...!news.mixmin.net!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: Dominique <zzz@aol.com>
Newsgroups: fr.rec.jeux.enigmes
Subject: Re: [Solution] F-Nim
Date: Tue, 20 Dec 2022 08:01:57 +0100
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <tnrml5$kgiv$1@dont-email.me>
References: <titnme$31k8$1@cabale.usenet-fr.net>
 <tj0564$tm9$1@cabale.usenet-fr.net> <tk2qvq$vs$1@gioia.aioe.org>
 <tk63c3$1a60$1@cabale.usenet-fr.net> <tk649a$1aau$1@cabale.usenet-fr.net>
 <tk7v6u$gpc$1@gioia.aioe.org> <tk88h7$1p3g$1@cabale.usenet-fr.net>
 <tk8a0g$10jk$1@gioia.aioe.org> <tk8g0n$1qhp$1@cabale.usenet-fr.net>
 <tk9dbo$tgd$1@gioia.aioe.org> <tkai4r$28kf$1@cabale.usenet-fr.net>
 <tlttkn$8qe$1@cabale.usenet-fr.net> <tlv4cg$1643$1@gioia.aioe.org>
 <tm3abs$1nfg$1@cabale.usenet-fr.net> <tm4air$1mat$1@gioia.aioe.org>
 <tm4p8b$69j$1@shakotay.alphanet.ch> <tm50lo$1nr9$1@gioia.aioe.org>
 <tm65o3$ncu$1@shakotay.alphanet.ch> <tm79il$ljb$1@gioia.aioe.org>
 <tnq4h8$4s3$1@cabale.usenet-fr.net> <tnriqv$k4qj$1@dont-email.me>
 <tnrlue$1c9k$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 20 Dec 2022 07:01:57 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="350d01186035794c4d0374f5b1c4259f";
	logging-data="672351"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/WbCOmqa2zJAypQ1gKM+B/PpkTQBuskYw="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.6.0
Cancel-Lock: sha1:l3qDYUWkemFtHOoHswzfWmfmpRI=
Content-Language: fr
In-Reply-To: <tnrlue$1c9k$1@gioia.aioe.org>
Bytes: 2462

Le 20/12/2022 à 07:49, Jacques Mathon a écrit :
> Le 20/12/2022 à 06:56, Dominique a écrit :
>> ...
>>>      s = "s" if (have > 1) else ""
>>
>> Je comprends mal comment fonctionne cette ligne sur laquelle s'est 
>> opportunément arrêté Jac. Je te remercie de la développer.
> 
> La variable nommée s prendra la valeur du _caractère_ s si la variable 
> nommée have est supérieure à 1. Sinon elle prendra la valeur du 
> _caractère_ nul (autrement dit une chaîne de caractères vide).
> 
> Amicalement

Merci Jacques, je n'aurais jamais pensé à cette façon d'écrire une 
condition. Python est un langage vraiment très souple.

-- 
Dominique
Esto quod es