Fulltext results:
- functions
- n is defined in the current scope using a ''def'' statement. ''def'' is a compound statement, so it must be either a single-line compound or ''end'' must be use... c1(): pass def func2() end The ''return'' statement is used to return a value from a function. ... def func5(a, b, c) Default values can be included. def func5(a, b='default', c=100) When calli
- statements_and_compounds
- <- Operator expressions ^ ^ Exceptions -> ====== Statements and compounds ====== ===== Structure ===== Statements normally end at a newline character, unless ... re is a backslash at the end of a line. print 'Statement' print \ 'Statement' Semicolons can be used on one line to separate statements. print
- operator_expressions
- <- Basic expressions ^ ^ Statements and compounds -> ====== Operator expressions ====== ===== Addition ... [ 5, 6 ] An optional third parameter can be provided to specify the step size within the slice range.