Construct a program in Python to stack and scale input data
A list of 10 data points consisting of a mix of integers and floats
import numpy as np

def preprocess(data):
    # Stack the data
    data = np.stack(data)

    # Scale the data
    data = (data - np.min(data)) / (np.max(data) - np.min(data))
    return data