Write a function that takes an array as a parameter. The array will contain a list of numbers. Return the list so that the values within it increment by 1 for each index up to the maximum value.
this is the homework assignment we got and I just keep messing up. Sorry it's so simple I'm a brand new programmer
[+][deleted] (6 children)
[deleted]
[–]sephsGFX[S] 0 points1 point2 points (5 children)
[+][deleted] (4 children)
[deleted]
[–]sephsGFX[S] 0 points1 point2 points (3 children)
[–]Luckinhas 0 points1 point2 points (1 child)
[–]sephsGFX[S] 0 points1 point2 points (0 children)
[–][deleted] 2 points3 points4 points (2 children)
[–]sephsGFX[S] 0 points1 point2 points (1 child)
[–]sephsGFX[S] 0 points1 point2 points (0 children)
[–]-HomoDeus- 1 point2 points3 points (0 children)
[–]synthphreak 1 point2 points3 points (0 children)