User Tools

Site Tools


python:openclassrooms

This is an old revision of the document!


Découvrez Python

Formation sur https://openclassrooms.com/en/courses/235344-apprenez-a-programmer-en-python

Python3 est installé :

python3 -V

Pour lancer l'interpréteur :

python3

Pour affecter une valeur à une variable:

var = "valeur"
num = 7.2

Pour vérifier le type d'une variable :

type(num)

Pour afficher:

print("a=", num * 2, " (double)")
python/openclassrooms.1588710471.txt.gz · Last modified: by carl