variable re-definition not working

variable re-definition not working - Messaggi

#1 Pubblicato: 12/07/2020 18:23:05
bertrandC

bertrandC

0 apprezzamenti in 1 post.

Gruppo: User

In the image below, I redefine b after using it in the calculation for c on the third line, but when I try to recalculate c on the 5th line, it doesn't use the updated value for b. I have to redefine c for the variable b to use the new value for b.

image.png
#2 Pubblicato: 12/07/2020 19:02:51
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Make it algo style.

algo.PNG
#3 Pubblicato: 12/07/2020 23:02:19
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: User

Hi Bertrand. Try this, please.

Clipboard01.gif

Best regards.
Alvaro.
2 utenti hanno apprezzato questo post
Davide Carpi 13/07/2020 05:17:00, frapuano 13/07/2020 08:48:00
#4 Pubblicato: 13/07/2020 07:21:49
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Get more from algo style.

algo-solve.PNG
  • Nuovi post
  • Nessun nuovo post