Match Case Python Return Value From Function