How To Write The Range In Python