Bonsoir,
Si on suit les instructions 1 par 1 on trouve n2 = 4
En python cela ferait:
n1 = 5
n2 = 0
n1 = n1 + n2
n1 = n1 - 1
n2 = n2 + n1
print(n2)
Bonne soirée
Copyright © 2024 ELIBRARY.TIPS - All rights reserved.
Lista de comentários
Bonsoir,
Si on suit les instructions 1 par 1 on trouve n2 = 4
En python cela ferait:
n1 = 5
n2 = 0
n1 = n1 + n2
n1 = n1 - 1
n2 = n2 + n1
print(n2)
Bonne soirée