Certainly! Here is some code in Python to print the cubes of numbers from 10 to 20:
python
Copy code
for num in range(10, 21):
cube = num ** 3
print(f"The cube of {num} is {cube}")
This code uses a for loop to iterate through the numbers 10 to 20 (inclusive), calculates the cube of each number using the exponent operator (**), and then prints out a message displaying the original number and its cube.
The output of this code will look like:
yaml
Copy code
The cube of 10 is 1000
The cube of 11 is 1331
The cube of 12 is 1728
The cube of 13 is 2197
The cube of 14 is 2744
The cube of 15 is 3375
The cube of 16 is 4096
The cube of 17 is 4913
The cube of 18 is 5832
The cube of 19 is 6859
The cube of 20 is 8000