创建一个包含10个随机数的列表，计算其中所有数的平均值并输出。
Here is a Python code to create a list of 10 random numbers, compute their average, and print the result:
```python
import random

# create a list of 10 random numbers
numbers = [random.randint(1, 100) for _ in range(10)]

# compute the average
average = sum(numbers) / len(numbers)

# print the result
print("The average of the numbers is:", average)
```