Fix typo
It was mistyped as lisP comprehensions instead of lisT comprehensions
This commit is contained in:
parent
19b55384f8
commit
ee4fecdafe
@ -337,7 +337,7 @@ which is equivalent to::
|
|||||||
with open("/tmp/data.in") as f:
|
with open("/tmp/data.in") as f:
|
||||||
print f.read()
|
print f.read()
|
||||||
|
|
||||||
And yes, we do have Lisp comprehensions! In Python you might do::
|
And yes, we do have List comprehensions! In Python you might do::
|
||||||
|
|
||||||
odds_squared = [
|
odds_squared = [
|
||||||
pow(num, 2)
|
pow(num, 2)
|
||||||
|
Loading…
Reference in New Issue
Block a user