Python the Calculator ๐งฎ
Python is amazing at math. Try printing numbers without quotes and Python will calculate them:
print(5 + 3) # โ 8
print(10 - 4) # โ 6
print(6 * 7) # โ 42 (* means multiply)
print(20 / 5) # โ 4.0 (/ means divide)
Notice: print("5 + 3") with quotes prints the text 5 + 3,
but print(5 + 3) without quotes prints the answer 8. Quotes = text.
No quotes = math!
Your mission
You have 7 packs of trading cards. Each pack has 12 cards. Print how many cards you have in total โ but make Python do the multiplication for you. No calculators allowed (except Python)! ๐
Your code
Press โถ Run to see what your code does!