import numpy as np
# Initialize a Python tuple
python_tuple = (1, 2, 3, 4, 5)
print("Original Python tuple:",python_tuple)
print("Type:",type(python_tuple))
# Convert the Python tuple to a NumPy array
numpy_array = np.array(python_tuple)
print("\nPython tuple to a NumPy array:")
# Print the NumPy array
print(numpy_array)
print("Type:",type(numpy_array))
convert a Python tuple to a NumPy array and print the array.