Files
python/reference/concepts/arguments_and_parameters.md
Michael Morehouse 29478dd68c 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
2021-01-29 11:14:36 -05:00

1.1 KiB

Arguments & parameters

TODO: ADD MORE

  • Parameters passed into a function. In python, these are noted in the () following a function name. The example code uses a function named to_rna() with an argument of dna_strand. rna-transcription
  • The example solutions use functions that take function arguments to operate on passed in markdown strings. markdown
  • the exercise requires a single positional parameter in the function signature leap
  • concept over arguments of a function and how to use them is required variable-length-quantity
  • the methods returning "row" and "column" need to take both self and an integer as arguments matrix
  • the example __init__ method has self, direction, x, and y (coordinates) as parameters. It also uses self and commands (a string) for parameters of the move() method. robot-simulator