import numpy as np
list_data=[1,2,3,4,5]
array1=np.array(list_data)
tuple_data=(6,7,8,9,10)
array2=np.array(tuple_data)
print(list_data)
print("After converting list into array")
print(array1)
print("After converting tuple into array")
print(array2)
To embed this program on your website, copy the following code and paste it into your website's HTML: