def full(shape, fill_value, dtype=None):
 a = empty(shape, dtype)
 a.fill(fill_value)
 return a

def full ( shape , fill_value , dtype = None ) : a = empty ( shape , dtype ) a . fill ( fill_value ) return a
returns a new array of given shape and dtype .