« Python : f-strings » : différence entre les versions
De www.yakakliker.org
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 22 : | Ligne 22 : | ||
}); | }); | ||
</script> | </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> | </html> |
Dernière version du 17 février 2025 à 18:16
a = 3
b = 5
print(f"La somme de {a} et {b} vaut {a+b}.")
Lien
https://filedn.com/lpKG7uY9hIHVel5exA5Ik80/Bases_Python/L'affichage.html