Course lesson
Rustlings functions3: Passing an argument to a function
README for this exercise.
- Duration
- 0 min
- Access
- Free
- Transcript
- Available
README for this exercise.
Course lesson
README for this exercise.
README for this exercise.
Chris Biscardi: In functions3, we start with the code that we ended with in functions2. The only difference is that call_me is not passed any arguments, but we've defined me as taking a number. To fix this, we can pass any number into the function call. Note that we now have all 10 numbers in our output and our tests pass.
Course lesson
README for this exercise.