Python Practice Module-Control Flow

So, your code works with passing different arguments? (and not just the ones supplied).

You wouldn’t be the first person here who had written different workable code that didn’t pass the backend tests for these challenges. :slight_smile:
People can interpret questions differently and will certainly write different code. There’s not always just one way to write it. Maybe you came up with a better way to write it (more efficient or something). But, it’s difficult to read your post and reproduce results b/c it’s not formatted.

So, going forward…if you could please format your code it would be helpful. It’s difficult for people to read it as it is & for anyone to try to push you in the direction of fixing it if needed. (Python relies on indentation…and you might have an indentation error). Use the </> button or click on the gear icon.