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
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
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- 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.