You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4 lines
337 B
4 lines
337 B
7 years ago
|
# Exercises: Comprehend Thy Lists
|
||
|
1. Takes all squares of the even numbers from 1 to 10
|
||
|
2. Combines all pairs of squares from numbers 1 to 10 smaller than 50 and larger than 50.
|
||
|
3. Takes the first 5 items of the previous list. The pairs will first be generated while keeping the x's the same. I.e. `[(1,64),(1,81),(1,100),(4,64),(4,81)]`
|