Partage de codes sources - CodesWall.info
Python
> PGCD
Titre
PGCD
Postée le
28-02-2012
Affichée
630
Mini-lien
Description
Calcul du pgcd en python
Réponse
Source 772
Etat
Ne contient pas d'erreurs.
Code d'insertion
Options
Tweet
Téléchargement
def
pgcd
(
a
,
b
)
:
while
a % b
!=
0
:
a
,
b
=
b
,
a % b
return
b
Postez votre code-source
Informations
Catégorie *
-
ActionScript3
ASP
C
C#.Net
C++
COBOL
CSS
Delphi
Fichier .ini
HTML4
HTML5
Java
javascript
jQuery
Latex
MatLab
mIRC
MySQL
Objective-C
OCaml
pascal
Perl
Php
Python
QBasic
Ruby
Script Batch
Shell
SmallTalk
VB.Net
VBA
Visual Basic
XML
Autre
Titre *
(50 car. max)
Description *
(200 car. max)
Le code
Fonctionne
Ne fonctionne pas
Je ne sais pas
Source
* : Champs obligatoires
Fermer
Accueil
Poster
Actualités
Règles
Contact
Partenaires
Infos / Aide
ActionScript3
(1)
ASP
(0)
C
(70)
C#.Net
(5)
C++
(52)
COBOL
(0)
CSS
(21)
Delphi
(0)
Fichier .ini
(5)
HTML4
(16)
HTML5
(4)
Java
(51)
javascript
(37)
jQuery
(2)
Latex
(7)
MatLab
(3)
mIRC
(3)
MySQL
(13)
Objective-C
(1)
OCaml
(4)
pascal
(11)
Perl
(11)
Php
(61)
Python
(4)
QBasic
(1)
Ruby
(1)
Script Batch
(8)
Shell
(10)
SmallTalk
(1)
VB.Net
(5)
VBA
(5)
Visual Basic
(6)
XML
(18)
Autre
(19)
\n
Forum informatique