[Python] comparer 2 strings qui sont des int
Résolu/Fermé
tata-titi
Messages postés
42
Date d'inscription
mercredi 17 janvier 2007
Statut
Membre
Dernière intervention
14 décembre 2009
-
23 avril 2007 à 15:15
tata-titi - 24 avril 2007 à 09:15
tata-titi - 24 avril 2007 à 09:15
A voir également:
- [Python] comparer 2 strings qui sont des int
- 2 comptes whatsapp - Guide
- Citizen code python - Guide
- 2 ecran pc - Guide
- Comparer prix amazon - Guide
- Word numéro de page 1/2 - Guide
2 réponses
_int = int(...)
int(x[, base]) -> integer
Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
int(x[, base]) -> integer
Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.