More calculations
Python makes it possible to perform more challenging calculations, such as multiplication and division. Now, you'll perform these calculations and print out their results.
This exercise is part of the course
Introduction to Python for Developers
Exercise instructions
- Print the result of
9
multiplied by2
. - Print the result of dividing
120
by12
.
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Calculate and print 9 multiplied by 2
print(____ ____ ____)
# Print the result of dividing 120 by 12
____(____ ____ ____)