Page 1 of 1

Task 3: Simple Tables Implement a function addition_table (numbers) that takes a list of n numbers and returns an 3 x n

Posted: Mon Jul 11, 2022 9:49 am
by answerhappygod
Task 3 Simple Tables Implement A Function Addition Table Numbers That Takes A List Of N Numbers And Returns An 3 X N 1
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 35 times
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]].