Browse Source

Merge pull request #859 from Pav01Founders/patch-18

Update subjects/appendrange/README.md
pull/868/head
OGordoo 3 years ago committed by GitHub
parent
commit
9299c44dd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      subjects/appendrange/README.md

4
subjects/appendrange/README.md

@ -2,11 +2,11 @@
### Instructions
Write a function that takes an `int` min and an `int` max as parameters. That function returns a slice of `int`s with all the values between min and max.
Write a function that takes an `int` min and an `int` max as parameters. The function should return a slice of `int`s with all the values between the min and max.
Min is included, and max is excluded.
If min is superior or equal to max, a `nil` slice is returned.
If min is greater than or equal to max, a `nil` slice is returned.
`make` is not allowed for this exercise.

Loading…
Cancel
Save