- Task 3 Simple Tables Implement A Function Addition Table Numbers That Takes A List Of N Numbers And Returns An 3 X N 1 (45.51 KiB) Viewed 33 times
Task 3: Simple Tables Implement a function addition_table (numbers) that takes a list of n numbers and returns an 3 x n
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Task 3: Simple Tables Implement a function addition_table (numbers) that takes a list of n numbers and returns an 3 x n
Task 3: Simple Tables Implement a function addition_table (numbers) that takes a list of n numbers and returns an 3 x n table where the first row contains the given numbers plus 1, the second row contains the given numbers plus 2, and the third row contains the given numbers plus 3. Example: calling addition_table ([2,5,-3,7]) returns [[3,6,-2,8], [4,7,-1,9], [5,8,0,10]].