6 Taper les instructions ci-contre dans la console Python. >>> a, b = 22,47 >>> a,b = b,a 1. Quelles valeurs affecte-t-on aux variables a et b dans la première
Mathématiques
Jayzen
Question
6 Taper les instructions ci-contre
dans la console Python.
>>> a, b = 22,47
>>> a,b = b,a
1. Quelles valeurs affecte-t-on aux variables a et b
dans la première instruction ?
2. Commenter l'instruction a,b = b,a.
dans la console Python.
>>> a, b = 22,47
>>> a,b = b,a
1. Quelles valeurs affecte-t-on aux variables a et b
dans la première instruction ?
2. Commenter l'instruction a,b = b,a.