UCL-EO / geog0111

UCL MSc coursenotes
http://www2.geog.ucl.ac.uk/~plewis/geog0111
GNU General Public License v3.0
16 stars 18 forks source link

Implicit for loops #9

Closed profLewis closed 3 years ago

profLewis commented 3 years ago

Need to have implicit for loops in for section. These are used later on but not introduced.

jgomezdans commented 3 years ago

They're called "list comprehensions", useful for googling around

On Thu, 8 Oct 2020 at 17:09, Professor Philip Lewis < notifications@github.com> wrote:

Need to have implicit for loops in for section. These are used later on but not introduced.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/UCL-EO/geog0111/issues/9, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABCAKB2SGVIN5RMOW2P76LSJXP5HANCNFSM4SI6SRWA .

-- Dr José L Gómez-Dans NERC National Centre for Earth Observation (NCEO) RSU ■ Dept. of Geography ■ University College London ■ Gower St, London WC1E 6BT UK Tel: +44 (0) 20 767 90590

profLewis commented 3 years ago

That’s the phrase! I couldn’t remember

Thanks

Lewis

Professor Philip Lewis, UCL

On 8 Oct 2020, at 18:17, José Gómez-Dans notifications@github.com wrote:

 They're called "list comprehensions", useful for googling around

On Thu, 8 Oct 2020 at 17:09, Professor Philip Lewis < notifications@github.com> wrote:

Need to have implicit for loops in for section. These are used later on but not introduced.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/UCL-EO/geog0111/issues/9, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABCAKB2SGVIN5RMOW2P76LSJXP5HANCNFSM4SI6SRWA .

-- Dr José L Gómez-Dans NERC National Centre for Earth Observation (NCEO) RSU ■ Dept. of Geography ■ University College London ■ Gower St, London WC1E 6BT UK Tel: +44 (0) 20 767 90590 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

profLewis commented 3 years ago

done in section 16 and small bit on lambda fns in 17