Podcast Beta
Questions and Answers
Quel est le résultat de l’instruction print 2 + 2==4 en Python?
Quelle est la sortie de ces instructions Python si l’utilisateur saisit 22. age=input() ; print(age+8)?
Quel est le résultat de l'expression True and False en Python?
En Python, le type d’une variable ne peut pas changer pendant l'exécution du programme.
Signup and view all the answers
À quoi sert l'instruction continue en Python?
Signup and view all the answers
Quelle est la sortie du code suivant en Python . for i in range(3): print(i,end=''); break else: print(2)
Signup and view all the answers
Quelle est la sortie de l’instruction suivante en Python: print('Bonjour, monde.'[:3])
Signup and view all the answers
Comment peut-on obtenir un nombre flottant aléatoire entre 0 et 1 avec le module random en Python?
Signup and view all the answers
Quelle est la fonction du module random qui génère un entier aléatoire entre 5 (inclus) et 10 (exclus) en Python?
Signup and view all the answers
Quelle est la sortie du code suivant en Python: if(True): print(1//2)
Signup and view all the answers