Showing posts with label Array. Show all posts
Showing posts with label Array. Show all posts

Thursday, July 8, 2021

Infographic Note on Numpy Arrays in Python with Questions and Answers on Array and Matrix Creation and Data Retrieval

 


Q1) Print range between 1 to 20 and show 5 integer random numbers

Q2) Print range between 1 to 100 and show 10 random integer numbers

Q3) Print range between 1 to 1000 and show 20 random integer numbers

Q4) Print a matrix with range between random number - 5 rows and 5 cols integer random numbers

Q5) Print a matrix range between random number - 10 rows and 6 cols integer random numbers in a             matrix format