Skip to content

Commit

Permalink
Fixed a couple of problems in the example input and output
Browse files Browse the repository at this point in the history
  • Loading branch information
barbarer committed Aug 26, 2024
1 parent a377310 commit 3cc44e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _sources/functions/funcGAI-hw1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Function1 takes a list of numbers and outputs a number as shown below:
Input Output
function1([10, 80, 100]) 90.0
function1([70, 50 90]) 80.0
function1([70, 50, 90]) 80.0
function1([2, 4, 6, 8]) 6.0
Expand Down Expand Up @@ -228,7 +228,7 @@ Function 4 takes a list of numbers and outputs a list of numbers as shown below:
Input Output
function4([1, 3, -2, 5]) [1, 3, 0, 5]
function4([-8, 2, 4, -1]) [-8, 2, 4, 0]
function4([-8, 2, 4, -1]) [0, 2, 4, 0]
function4([0, 3, 5]) [0, 3, 5]
Expand Down Expand Up @@ -261,7 +261,7 @@ To check that you understand what the function is doing please enter the expecte
Input Output
function4([1, 3, -2, 5]) [1, 3, 0, 5]
function4([-8, 2, 4, -1]) [-8, 2, 4, 0]
function4([-8, 2, 4, -1]) [0, 2, 4, 0]
function4([0, 3, 5]) [0, 3, 5]
~~~~
Expand Down

0 comments on commit 3cc44e2

Please sign in to comment.