+ 2
I don't understand the fourth exercise.
Why 4 and not 3 for "eggs"?
3 Antworten
+ 3
you can change the variable value by readjusting it.
in the exercise:
eggs = 3 ----> 3 is the old value of the variable eggs.
eggs = 4 ----> now 4 is the new value of the variable eggs.
Python work with the new value of the variable not the old one.
+ 2
Oh, thanks for the information! ;-)
+ 2
you are very welcome