« Python : Les variables » : différence entre les versions

De www.yakakliker.org
(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 »)
 
Aucun résumé des modifications
 
(2 versions intermédiaires par le même utilisateur non affichées)
Ligne 10 : Ligne 10 :
print(variable)
print(variable)
</syntaxhighlight>
</syntaxhighlight>
=== Types de variables ===
[[Fichier:Capture d’écran du 2024-03-22 15-29-41.png|sans_cadre]]


=== Liens ===
=== Liens ===
Ligne 16 : Ligne 19 :
[[Catégorie:Python]]
[[Catégorie:Python]]
[[Catégorie:Scripts]]
[[Catégorie:Scripts]]
‎<html>
<script src='https://storage.ko-fi.com/cdn/scripts/overlay-widget.js'></script>
<script>
  kofiWidgetOverlay.draw('yakakliker', {
    'type': 'floating-chat',
    'floating-chat.donateButton.text': 'Café',
    'floating-chat.donateButton.background-color': '#00b9fe',
    'floating-chat.donateButton.text-color': '#fff'
  });
</script>
‎</html>
‎<html>
<a href="https://www.compteurdevisite.com" title="compteur web gratuit sans pub"><img src="https://counter6.optistats.ovh/private/compteurdevisite.php?c=b4epghealnwlf7wuq7gn3ygll9aywrfx" border="0" title="compteur web gratuit sans pub" alt="compteur web gratuit sans pub"></a>
‎</html>

Dernière version du 17 février 2025 à 18:20

Déclarer une variable

nom_de_la_variable = uneValeur

Afficher une variable

variable = 'Bonjour tout le monde'

print(variable)

Types de variables

Liens

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


compteur web gratuit sans pub