Jump to content

Python: Difference between revisions

169 bytes added ,  26 December 2019
Line 27: Line 27:
<syntaxhighlight lang="python">
<syntaxhighlight lang="python">
lambda x: x * 2
lambda x: x * 2
</syntaxhighlight>
====Spread====
[https://stackoverflow.com/questions/1993727/expanding-tuples-into-arguments Reference]
<syntaxhighlight lang="python">
myfun(*tuple)
</syntaxhighlight>
</syntaxhighlight>