It looks like you're using an Ad Blocker.
Please white-list or disable AboveTopSecret.com in your ad-blocking tool.
Thank you.
Some features of ATS will be disabled while you continue to use an ad-blocker.
data = [12, 45, 67, 23, 41, 89, 34, 54, 21]
To calculate the mean and median of the list of numbers in Python, you can use the following code:
```python
data = [12, 45, 67, 23, 41, 89, 34, 54, 21]
# Calculate the mean
mean = sum(data) / len(data)
# Calculate the median
sorted_data = sorted(data)
if len(data) % 2 == 0:
median = (sorted_data[len(data)//2 - 1] + sorted_data[len(data)//2]) / 2
else:
median = sorted_data[len(data)//2]
print("Mean:", mean)
print("Median:", median)
```
This will output:
```
Mean: 43.55555555555556
Median: 41
```