I read some where one of you guys really liked lambdas and i need your help.
I needed to write a list into a file and i wasnt really sure how to do that, because normal .write doesnt work so i found this-
and i was just wondering what is happening here and i thought someone could explain it to me since i couldnt find a good explanation anywhere.
I needed to write a list into a file and i wasnt really sure how to do that, because normal .write doesnt work so i found this-
PHP Code
<?php
f.write("\n".join(map(lambda x: str(x), list1))+"\n")


