Menu iconMenu iconPython & SQL Bible
Python & SQL Bible

Chapter 22 - Appendix C: Python Cheat Sheet

List Comprehensions

squares = [x**2 for x in range(10)]

List Comprehensions

squares = [x**2 for x in range(10)]

List Comprehensions

squares = [x**2 for x in range(10)]

List Comprehensions

squares = [x**2 for x in range(10)]