Last updated on Fri, 2008-06-27 18:12. Originally submitted by fabio on 2008-06-25 12:13.
I'm recently working a lot with Python because I understood it perfectly fits my needs being powerful, clean and fast to develop with it.
If you program with it there are good chances that you will end up using lot of lists which are pretty well designed and powerful in Python.
A really useful function in Python is map() which let you execute one function on each element of a list:
L = [0.1, 0.4, 0.7]
L2 = map(round, L)
print L2
#output [0.0, 0.0, 1.0]
Recent comments
21 hours 30 min ago
1 day 13 hours ago
1 day 15 hours ago
1 day 16 hours ago
1 day 16 hours ago
1 day 19 hours ago
2 days 1 hour ago
2 days 3 hours ago
2 days 9 hours ago
2 days 9 hours ago