Skip to content Skip to sidebar Skip to footer
Showing posts with the label Argument Passing

List As A Function Argument - Modifications Discarded

I have a following code def hidePasswords(L, password): for elem in L: if elem == passw… Read more List As A Function Argument - Modifications Discarded

Keyword Argument In Unpacking Argument List/dict Cases In Python

For python, I could use unpacking arguments as follows. def hello(x, *y, **z): print 'x'… Read more Keyword Argument In Unpacking Argument List/dict Cases In Python