Python : Les variables

De www.yakakliker.org
Révision datée du 22 mars 2024 à 12:59 par Administrateur (discussion | contributions) (Page créée avec « === Déclarer une variable === <syntaxhighlight lang="python3"> nom_de_la_variable = uneValeur </syntaxhighlight> === Afficher une variable === <syntaxhighlight lang="python3"> variable = 'Bonjour tout le monde' print(variable) </syntaxhighlight> === Liens === https://dyma.fr/developer/list/chapters/core/619556fdd5fe7e09d4aba395/lesson/python/61969e5866ef0d5e68f7f66d/2/2 Catégorie:Python Catégorie:Scripts »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)

Déclarer une variable

nom_de_la_variable = uneValeur

Afficher une variable

variable = 'Bonjour tout le monde'

print(variable)

Liens

https://dyma.fr/developer/list/chapters/core/619556fdd5fe7e09d4aba395/lesson/python/61969e5866ef0d5e68f7f66d/2/2