aidez moi svp, merci !!!!!! :

Réponse :
x = 2
y = 3
z = 0
while x != 0:
if x > 0:
x = x / 2
y = 2 * y
else:
x = x - 1
z = z + y