# Write a NumPy program to create a new vector with 2 consecutive 0 between two values of a given vector.  
 import numpy as np
nums = np.array([1,2,3,4,5,6,7,8])
print("Original array:")
print(nums)
p = 2
new_nums = np.zeros(len(nums) + (len(nums)-1)*(p))
new_nums[::p+1] = nums
print("\nNew array:")
print(new_nums)
