Deutsch   English   Français   Italiano  
<tjcr8c$2m79v$1@dont-email.me>

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

Path: ...!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: Dominique <zzz@aol.com>
Newsgroups: fr.comp.lang.python
Subject: Re: Probleme python boucle et variables
Date: Thu, 27 Oct 2022 04:43:24 +0200
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <tjcr8c$2m79v$1@dont-email.me>
References: <6MmdnUCNp6KAysX-nZ2dnZfqlJxg4p2d@giganews.com>
 <tj9mvb$osc$1@cabale.usenet-fr.net> <tja8bp$2cf3u$1@dont-email.me>
 <tjbasa$15nl$1@cabale.usenet-fr.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 27 Oct 2022 02:43:25 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="3ac8c01e99bb679959901a2085d97c0f";
	logging-data="2825535"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18zquuPwIZYnsBsrcrk1JlQ9tDBVZ/65Yw="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.4.0
Cancel-Lock: sha1:rBDsWSXzcMk0Q+a1TAsgPjOx3uk=
In-Reply-To: <tjbasa$15nl$1@cabale.usenet-fr.net>
Content-Language: fr
Bytes: 1829

Le 26/10/2022 à 14:57, Olivier Miakinen a écrit :
> Le 26/10/2022 à 05:08, Dominique a écrit :
>> Le 26/10/2022 à 00:11, Olivier Miakinen a écrit :
>>
>>> Je te suggère d'utiliser une liste et sa méthode append() :
>>> https://docs.python.org/fr/3/tutorial/datastructures.html
>>>
>>
>> On peut aussi augmenter une variable de chacune des mesures et de
>> diviser le résultat par 3.
> 
> Exact. Mais vu que ysk (5e du nom) semble être en train d'apprendre le
> langage, j'avais pensé qu'apprendre à utiliser les listes (et au passage
> apprendre à lire la doc) pouvait être une bonne idée.
> 
> 

C'est vrai aussi :-)

Dominique