Organize concepts, eliminate duplication

* Stage 1

* Finish restructuring, add checkboxes.

* Minor format fixes

* fixing broken link

* fixing broken link

* fixing README link

* Fix multiples bad links

* Fix links in reference/concepts/keywords/README.md

* Correcting list description
This commit is contained in:
Michael Morehouse
2020-03-05 20:46:17 +00:00
committed by Corey McCandless
parent d7231f45b7
commit 29478dd68c
206 changed files with 1442 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
# Return value
TODO: ADD MORE
- the knowledge of `return` statement could be a useful concept in this exercise [variable-length-quantity](../exercise-concepts/variable-length-quantity.md)
- the function must return a number (int) [hamming](../exercise-concepts/hamming.md)
- Most of the functions in the example solution specify a _return_ value using the `return` keyword. [markdown](../exercise-concepts/markdown.md)
- the exercise must use a `return` statement to return a value to the caller [leap](../exercise-concepts/leap.md)
- this function return a string by this line: `return text[::-1]` [reverse-string](../exercise-concepts/reverse-string.md)
- the `return` keyword is used in a _return statement_ at the end of a function. Exits a function and may or may not pass data or an expression back to calling code. Functions in python without an expicit `return` keyword and statment will return (pass back) the singleton object `none`. The example code _returns_ a copy of the passed-in argument (assumed to be a string) that has been mapped through `str.translate()`, using the table made from `str.maketrans()` [rna-transcription](../exercise-concepts/rna-transcription.md)
- knowing that functions need not have _explicit_ return statements or values but will return `None` if `return` is not specified. Except for the two `@property`-decorated functions, all of the functions in the example omit an explicit `return` statment and all return `None`. [robot-simulator](../exercise-concepts/robot-simulator.md)
- the knowledge of `return` statement could be a useful concept in this exercise [variable-length-quantity](../exercise-concepts/variable-length-quantity.md)
- "row" and "column" list values are expected from defined instance method(s) [matrix](../exercise-concepts/matrix.md)