My First Function
Season 02 - Introduction to Python Programming
FUNCTIONS
Basic rules Function names have the same rules as variable names (they must start with a letter or _ and contain only letters, numbers, or _).
Number called in function is 1
Number called in function is 10
We can return a value from the function using return
keyword.
--------------------------------------------------------------------------- StopIteration Traceback (most recent call last) <ipython-input-50-e734f8aca5ac> in <cell line: 1>() ----> 1 next(g) StopIteration: