0
What id the output of the code
Spam=2 eggs=3 Del spam Eggs=4 Spam=5 Eplain in detail
4 RĂ©ponses
0
Could you please elaborate on your question? What part of the code donât you understand?
0
Print(spam*eggs)
0
From the comments of that question:
Reading from the top.
âą Var âspamâ equals 2.
âą Var âeggsâ equals 3.
âą Var âspamâ is removed.
âą Var âeggsâ now equals 4 (old value was 3).
âą Var âspamâ is reassigned and now equals 5.
eggs (4) X spam (5) equals 20.
PS: Var is short for variable.
0
Tq