Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 1.06 KB

arguments_and_parameters.md

File metadata and controls

10 lines (8 loc) · 1.06 KB

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