)
>
>
> >>> a, *b = {1, 2, 3, 4, 5}
> >>> type(b)
>
>
> >>> a, *b = [1, 2, 3, 4, 5]
> >>> type(b)
>
>
> >>> a, *b = dict(zip("spam", range(4)))
> >>> type(b)
>
>
> >>> a, *b
automatic tuple unpack:
>
> v1, v2 = return_multiplevalues(1, 2)
>
>
> On Jun 1, 2017 17:18, "joannah nanjekye" <nanjekyejoan...@gmail.com>
> wrote:
>
> Hello Team,
>
> I am Joannah. I am currently working on a book on python compatibility and
a tuple.
I will appreciate discussing this. You may also bring to light any current
way of returning multiple values from a function that I may not know of in
python if there is.
Kind regards,
Joannah
--
Joannah Nanjekye
+256776468213
F : Nanjekye Captain Joannah
S : joannah.nanjekye
T