human
I am working on the file "Section 3 - Machine Learning/libs/core_libs/numpy/numpy.ipynb".
The first task is:
array takes two parameters, list and data type. 
The list is converted to narray with the requested data type. lets update the above example for float and observe the changes in the array elements.
Can you write Python code for it?
assistant
#Here is the Python code you requested.

af = np.array([2, 1, 4, 5, 77777777777], float)
print(af)

a2 = np.array([2, 1, 4, 5, 8])
print(a2)

class T:
    def __init__(self):
        self.x = 1
        
a3 = np.array([2, 1, 4, 5, 8], T)
print(a3)
print(a3.dtype)