0
What id the output of the code
Spam=2 eggs=3 Del spam Eggs=4 Spam=5 Eplain in detail
4 Respostas
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