There are two conditional statements within the
__next__ function. There are four cases, but it is not specified which one to return for one case.
The return value of a function that ends without a return value is None. At the idle prompt, if there is a return value for the function, it displays the return value, and when None, nothing is displayed.
© 2022 pinfo. All rights reserved.