1.

>>> x=np.arange(1,10)

>>> x

array([1, 2, 3, 4, 5, 6, 7, 8, 9])

>>> print(x)

[1 2 3 4 5 6 7 8 9]

>>> type(x)

<

>>> x=range(1,10)

>>> x

[1, 2, 3, 4, 5, 6, 7, 8, 9]

>>> print(x)

[1, 2, 3, 4, 5, 6, 7, 8, 9]

>>> type(x)

<

2.

>>> x=np.arange(

>>> x

array([ 0., 1., 2., 3., 4., 5., 6., 7., 8., 9., 10.])

>>> print(x)

[ 0. 1. 2. 3. 4. 5. 6. 7. 8. 9. 10.]

>>> x=np.arange(1,10)

>>> x

array([1, 2, 3, 4, 5, 6, 7, 8, 9])

>>> print(x)

[1 2 3 4 5 6 7 8 9]

**#No commas**>>> type(x)

<

**type 'numpy.ndarray'**>>>> x=range(1,10)

>>> x

[1, 2, 3, 4, 5, 6, 7, 8, 9]

>>> print(x)

[1, 2, 3, 4, 5, 6, 7, 8, 9]

**# is separated by commas**>>> type(x)

<

**type 'list'**>2.

>>> x=np.arange(

**10.5)****# Floating point value**>>> x

array([ 0., 1., 2., 3., 4., 5., 6., 7., 8., 9., 10.])

>>> print(x)

[ 0. 1. 2. 3. 4. 5. 6. 7. 8. 9. 10.]

>>> x=range(

**10.5)**
Traceback (most recent call last):

File "<stdin>", line 1, in <module>

**TypeError: range() integer end argument expected, got float.**

**3.**