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
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.