cours python • importer les modules math et random • programmation • tutoriel • lycée
http://jaicompris.com/python/python-random-math.php
- savoir importer les modules math et random pour accéder aux fonctions mathématiques et tirer des nombres au hasard
- utiliser la fonction racine carrée sqrt()
- tirer des nombres aléatoires avec randint() et random()
cours python - base de la programmation - lycée - tutoriel - algorithmique