Question: Write a Pyton program to get the output below. Use Numpy function arange to create an array of 2 0 odd integers from 1 to

Write a Pyton program to get the output below.
Use Numpy function arange to create an array of 20 odd integers from 1 to 41(called Array1 below), then reshape the result in 5-by-4 array (Array2). A sample output could be like the one below.
Array1: [13579111315171921232527293133353739]
Array2:
[[1357]
[9111315]
[17192123]
[25272931]
[33353739]]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!