Back to Browse

How to Use Python List Comprehensions

47 views
Feb 5, 2023
8:21

Python list comprehensions are an important concept for any python developer. If you know how to use them, they become handy and shorten your code. In this video I introduce list comprehensions and how to use them in your programs. #pythonlistcomprehension #pythongamedevelopment #编程 Video editing: Windows video editor and adobe premiere Video recorder: @https://obsproject.com No copyright subscribe gif: https://youtu.be/SuyZD4IwK7k​​​​​​​​​... "Music provided by http://spoti.fi/NCS" and Anno Domini beats https://www.canva.com https://www.python.org/downloads/​​​​​​ Text editor: https://code.visualstudio.com/download Browser: https://www.google.com/chrome/ Textbooks Used: Beginning Python Games Development with Pygame(Harrison Kinsley and Will McGugan). https://www.pygame.org/docs/ for pygame documentation https://www.tutorialsteacher.com/python/sys-module Timecodes 00:00 - Intro 00:27- Python lists 01:16 - Using a For Loop to create a new list 04:49 - Using a List Comprehension to create a new list 08:01 - Conclusion

Download

0 formats

No download links available.

How to Use Python List Comprehensions | NatokHD