Path: ...!feeds.phibee-telecom.net!news.mixmin.net!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Dominique Newsgroups: fr.comp.lang.python Subject: Re: Affichage en notation scientifique. Date: Wed, 14 Sep 2022 16:17:21 +0200 Organization: A noiseless patient Spider Lines: 15 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 14 Sep 2022 14:17:21 -0000 (UTC) Injection-Info: reader01.eternal-september.org; posting-host="8894558db0d5460c4ced3f0ce4a43f4d"; logging-data="3148168"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18qt88XNv/QwN8SK8ssGxr8TwnbMX6F41g=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Cancel-Lock: sha1:dZby8cTUgmx2rjHGNUyN96NAAj4= Content-Language: fr In-Reply-To: Bytes: 1526 Le 14/09/2022 à 15:55, Dominique a écrit : > Bonjour, > > Je m'amuse avec « 100 énigmes mathématique123654789s résolues avec Python » > > Soit t=1236354, est-il possible d'avoir ce nombre en notation > scientifique 1.236354e6 et récupérer dans une variable l'exposant (6 ici) ? > > Merci et bon orage :) > > Dominique Il faut bien sûr lire « 100 énigmes mathématiques résolues avec Python »... (éditions ellipses)