<｜begin▁of▁sentence｜>### Instruction:
As a legal secretary, you are assisting a team of lawyers with preparing documents for a case involving financial data. The team needs to rescale a list of financial values [10, 20, 30, 40, 50] to fit within a specific range for analysis and presentation to the court. You have been asked to use the 'rescale' function from the networkx package to help achieve this task.
### Response:
from igraph.utils import rescale

# Define a list of values
data = [10, 20, 30, 40, 50]

# Rescale the values to be within the range [0, 10]
rescaled_data = rescale(data, out_range=(0, 10))
print(rescaled_data)
<|EOT|>
