Update One-dimesional.py