Articles → Numpy → Create An Array Of All Fives In NumpyCreate An Array Of All Fives In NumpyIn this article, we will create an array of all fives.Code import numpy as np print(np.ones(10) * 5)Output Click to EnlargePosted By - Karan Gupta Posted On - Friday, April 5, 2019 Query/Feedback Your Email Id** Subject* Query/Feedback Characters remaining 250**
import numpy as np print(np.ones(10) * 5)
Query/Feedback