You Should Know This Python Trick #shorts #pythontricks

preview_player
Показать описание
Simple python trick to create a list of squares in just one line of python code. This trick (list comprehension) makes python code shorter and more readable. Try it out!

If this was helpful, follow for more python tips & tricks and computer related topics knowledge.
Рекомендации по теме