2 Answers
New AnswerThat's a comprehension creating an iterable. You might wanna read this: https://code.sololearn.com/ck6HicJ6Z8jG/?ref=app
Nidified comprehension, to be exact. The outer one {} is a dictionary comprehension, which generates 8 couples key -> list of multiples of the key. The 8 list of multiples are generated by 8 list comprehensions []
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message