Saturday, May 09, 2020

A Beginner’s Guide to Python List Comprehensions

A Beginner’s Guide to Python List Comprehensions
matrix = [[x for x in range(1,4)] for y in range(1,4)]

May 9, 2020 at 01:40PM
via Instapaper https://bit.ly/2LaiBrg

No comments: