Browse Source

Merge pull request #860 from Pav01Founders/patch-19

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

4
subjects/makerange/README.md

@ -3,11 +3,11 @@
### Instructions ### Instructions
Write a function that takes an `int` min and an `int` max as parameters. 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. The function must return a slice of `int`s with all the values between min and max.
Min is included, and max is excluded. 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.
`append` is not allowed for this exercise. `append` is not allowed for this exercise.

Loading…
Cancel
Save