Back to Lessons
BeginnerBasics

Multiplication Magic

lesson_14.py
>>> ## Concept Multiplication in Python is simple and uses the asterisk `*` operator. When you multiply two numbers, you combine them into one product. The multiplication operator can be used between any two numbers, such as integers or floating piints. **Example:** ```python result = 6 * 7 print(result) # This prints 42 ``` In this example, `6` and `7` are multiplied to return the product `42`. ## Practice Your task is to use the multiplication operator to perform a simple calculation. **Instructions:** 1. In the code editor, write a line of code that calculates the product of `8` and `9`. 2. Use the `*` operator to multiply these two numbers. 3. Print the result to see the output. Here is the starter code: ```python # Calculate the product of 8 and 9 # Print the result ``` Make sure that your output matches the expected result of `72`. Once you complete these steps and run your code, the test case will pass if you have done it correctly.
Code Editor

Sign in to submit your answer and earn XP.