Pseudocode Meaning In Python