创建一个10个元素的整数列表，该列表应包含10到50之间的随机整数，并找到列表中的最大值和最小值。输出列表及其最大值和最小值。
Here's the code to create a list of 10 random integers between 10 and 50, find the maximum and minimum value in the list, and print them along with the list:

```python
import random

# create a list of 10 random integers between 10 and 50
my_list = [random.randint(10, 50) for i in range(10)]

# find the maximum and minimum value in the list
max_value = max(my_list)
min_value = min(my_list)

# print the list and its max/min values
print("My list:", my_list)
print("Max value:", max_value)
print("Min value:", min_value)
```

Sample output:

```
My list: [46, 30, 28, 39, 12, 49, 27, 13, 14, 29]
Max value: 49
Min value: 12
```