Define Range Function In Python Syntax For Exponents