| Deutsch English Français Italiano |
|
<vldm1o$vkj0$2@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Dominique <dominique.sextant@orange.fr.invalid>
Newsgroups: fr.sci.maths
Subject: Re: Why a time of the real world must be galilean (space-contraction)
Date: Sun, 5 Jan 2025 11:14:16 +0100
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <vldm1o$vkj0$2@dont-email.me>
References: <180f1778e64eec8d$354$1238888$c2365abb@news.newsdemon.com>
<1810396c90cd5e45$3874$1234847$c2565adb@news.newsdemon.com>
<u7NvhHcfrBd_GXJLccUViHRQ17g@jntp>
<18103c11c4399e1b$3635$1228337$c2265aab@news.newsdemon.com>
<ZmSFX2R-ovBoEMObJLiwLJMFGUQ@jntp>
<181050bd5e899136$3636$1228337$c2265aab@news.newsdemon.com>
<gS3CnAvH7iZAR8z2fpZ16WpwAQI@jntp>
<181154a9986e9f2f$4267$1238888$c2365abb@news.newsdemon.com>
<LKudnak0JLYu1sL6nZ2dnZfqn_ednZ2d@giganews.com>
<3mKMfwgJtRfN4V1gGsy4VLJ6a64@jntp> <lqBFOj-jmrn9yhAKRF22SfRFA68@jntp>
<vld25h$sc0g$1@dont-email.me> <vldlqf$vkj0$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 05 Jan 2025 11:14:17 +0100 (CET)
Injection-Info: dont-email.me; posting-host="4a600065d5f6807b9561f8d1626129ad";
logging-data="1036896"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18vgQRqpelnomJ8Nxcy1d2jdiK58IKF+I0="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:xag9TlMcXoPo+RZqq5mjXonvOho=
Content-Language: fr
In-Reply-To: <vldlqf$vkj0$1@dont-email.me>
Bytes: 2285
Le 05/01/2025 à 11:10, Dominique a écrit :
Si le script intéresse quelqu'un, le voici. Je l'ai modifié pour qu'il
donne des résultats, que le nombre de chiffres du carré soit pair ou
impair. J'ai, bien sûr, plus de résultats...) :
for i in range (10,10000):
t=str(i**2)
#if len(t)%2==1:
m1=int(len(t)/2)
m2=m1+1
#m=int(len(t)/2)
t1=int(t[:m1])
t2=int(t[m1:])
t3=int(t[:m2])
t4=int(t[m2:])
if t1+t2==i:
print('Carré de ',i,' donne ',t,' soit',t1,'+',t2,' OK')
if t3+t4==i:
print('Carré de ',i,' donne ',t,' soit',t3,'+',t4,' OK')
--
Dominique
Esto quod es