Looks like someone else's been playing too much Rez too.
[(i+1)**2 for i in a if i%3!=2] Goes through the list once, and reads like set notation! (and does i+1 once, which is what I assume you were going for with the separate [i+1 for i in a])
> If Django were in C, I would know what a request object really was, grep for it, and look up the header file. If Django were in python, you wouldn't even have to grep >>> import django.http, inspect…
https://chrome.google.com/extensions/detail/mgijmajocgfcbebo... I double-click the word, and get "If you have tenacity, you are very determined and do not give up easily."
Looks like someone else's been playing too much Rez too.
[(i+1)**2 for i in a if i%3!=2] Goes through the list once, and reads like set notation! (and does i+1 once, which is what I assume you were going for with the separate [i+1 for i in a])
> If Django were in C, I would know what a request object really was, grep for it, and look up the header file. If Django were in python, you wouldn't even have to grep >>> import django.http, inspect…
https://chrome.google.com/extensions/detail/mgijmajocgfcbebo... I double-click the word, and get "If you have tenacity, you are very determined and do not give up easily."