dime-python-training
dime-python-training copied to clipboard
Consider adding list comprehension after the looping section
https://github.com/worldbank/dime-python-training/blob/31ed34d7053eedbf5b73bc4af22c2f819ca607a9/I%20-%20Introduction/slides/intro-to-python-CE-part1.tex#L566-L635
Given how commonly list comprehension is used in python, I think it's worth introducing the syntax – the objective is perhaps not for the audience to write in such syntax but to understand how to read it, as a big part of coding is also reading other people's code.