Python Input String Format Function