Variables | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Variables

What is the output of this code? >>> spam = 2 >>> eggs = 3 >>> del spam >>> eggs = 4 >>> spam = 5 >>> print(spam * eggs)

27th Feb 2020, 10:03 AM
Ethan Youngman
Ethan Youngman - avatar
2 Answers
+ 2
Try by yourself. Otherwise you will not learn
27th Feb 2020, 2:19 PM
🇮🇳Vivek🇮🇳
🇮🇳Vivek🇮🇳 - avatar
+ 1
Thanks for that!
27th Feb 2020, 10:18 AM
Ethan Youngman
Ethan Youngman - avatar