Python Code and Two Example Inputs/Outputs