Re: Why a time of the real world must be galilean (space-contraction)

Liste des GroupesRevenir à fs maths 
Sujet : Re: Why a time of the real world must be galilean (space-contraction)
De : dominique.sextant (at) *nospam* orange.fr.invalid (Dominique)
Groupes : fr.sci.maths
Date : 05. Jan 2025, 11:14:16
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vldm1o$vkj0$2@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13
User-Agent : Mozilla Thunderbird
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

Date Sujet#  Auteur
16 Dec 24 * Re: Why a time of the real world must be galilean (space-contraction)16Richard Hachel
19 Dec 24 +- Re: Why a time of the real world must be galilean (space-contraction)1Python
5 Jan 25 `* Re: Why a time of the real world must be galilean (space-contraction)14Dominique
5 Jan 25  `* Re: Why a time of the real world must be galilean (space-contraction)13Dominique
5 Jan 25   `* Re: Why a time of the real world must be galilean (space-contraction)12Dominique
5 Jan 25    `* Re: Why a time of the real world must be galilean (space-contraction)11robby
5 Jan 25     +* Re: Why a time of the real world must be galilean (space-contraction)2Python
7 Jan 25     i`- Re: Why a time of the real world must be galilean (space-contraction)1robby
5 Jan 25     +- Re: Why a time of the real world must be galilean (space-contraction)1Thomas Alexandre
5 Jan 25     +* Re: Why a time of the real world must be galilean (space-contraction)3Dominique
5 Jan 25     i`* Re: Why a time of the real world must be galilean (space-contraction)2Python
6 Jan 25     i `- Re: Why a time of the real world must be galilean (space-contraction)1Dominique
5 Jan 25     `* Re: Why a time of the real world must be galilean (space-contraction)4Michel Talon
5 Jan 25      +* Re: Why a time of the real world must be galilean (space-contraction)2efji
6 Jan 25      i`- Re: Why a time of the real world must be galilean (space-contraction)1Dominique
7 Jan 25      `- Re: Why a time of the real world must be galilean (space-contraction)1robby

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal