Deutsch English Français Italiano |
<tm79il$ljb$1@gioia.aioe.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!aioe.org!Z3dtOrGGIt5I0j0O5eDDkQ.user.46.165.242.91.POSTED!not-for-mail From: Jacques Mathon <mathon.jacques@free.fr> Newsgroups: fr.rec.jeux.enigmes Subject: Re: Un indice : F-Nim Date: Wed, 30 Nov 2022 10:59:49 +0100 Organization: Aioe.org NNTP Server Message-ID: <tm79il$ljb$1@gioia.aioe.org> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: gioia.aioe.org; logging-data="22123"; posting-host="Z3dtOrGGIt5I0j0O5eDDkQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Content-Language: fr-FR X-Notice: Filtered by postfilter v. 0.9.2 Bytes: 2423 Lines: 29 Le 30/11/2022 à 00:48, Jac a écrit : > Jacques Mathon a présenté l'énoncé suivant : > >> Et le problème d'origine, tu l'avais résolu ? >> Je me souviens que tu avais joué avec Olivier. > > Oui, j'avais écrit un p'tit module mais je m'étais trompé en recopiant > les résultats ! Je m'en souviens. Si tu as vraiment résolu le problème sauras-tu résoudre le codage d'Olivier que je reprends ci-dessous ? > Voici donc où nous en sommes de la fonction choix. Chaque @ représente une > lettre et chaque # représente un caractère qui n'est pas une lettre. > ============================================================================= > def choix(have, maxi): > while True: > if have <= maxi: > return have > @# @ # ## # > @@@@@ @ # @@@@# > @# @ # @# @#@ > @@@@ ## @ > ============================================================================= Amicalement -- Jacques