Page 1 of 1

1- Define 1-D array with values from 1 to 50. Then, extract all even values from this array and save them as another arr

Posted: Mon Jun 06, 2022 1:13 pm
by answerhappygod
1 Define 1 D Array With Values From 1 To 50 Then Extract All Even Values From This Array And Save Them As Another Arr 1
1 Define 1 D Array With Values From 1 To 50 Then Extract All Even Values From This Array And Save Them As Another Arr 1 (183.81 KiB) Viewed 32 times
plz help me solve this using python language??!
1- Define 1-D array with values from 1 to 50. Then, extract all even values from this array and save them as another array. 2- Define 1-D array with values from 1 to 50. Then, replace values that are smaller than 30 and divisible by 5 with -1. 3- Use functions and methods from todays class to define the following array: [[1 2 3] [1 2 3] [1 2 3]] 4- define a function to print single elements in a 3-D array.