Using Json List Python Functions With Input