Loading ARcademy...
In some programming languages, you have to do these steps separately. Python makes it incredibly easy for you: the moment you type pizza_slices = 8, Python handles both steps at the exact same time.
💡 The Biggest Beginner Mistake: Using Quotes Python is very literal. If you put quotation marks around a word, Python thinks you just want to print out those exact letters. If you leave the quotes off, Python knows it is a variable and goes looking for the hidden value inside. Without quotes (finds the hidden number):
print(pizza_slices) # Output: 8With quotes (just prints the word):
print("pizza_slices") # Output: pizza_slices
my_favorite_number.7).print() to show the number on your screen.Expected Output:
7