A little more compact formulation would be
import numpy as np t = np.full(5,2)**np.arange(5)
which gives
t=array([ 1, 2, 4, 8, 16])