10 Python tips and tricks you should check out




[ad_1]

This video is containing 10 Python tips and tricks. Those are containing a mix of beginner friendly and more intermediate Python topics.
Let me know if you have any questions.

1. Assigning multiple values to multiple variables
2.Getting multiple values from a function / tuple decomposition
3. Using dir and help
4. Swapping variables
5. creating dictionaries with **kwargs
6. merging dictionaries with .items() and | operator
7. from module import *
8. Lambda functions
9. List comprehension
10. enumerate function

Video on lambda functions:
https://youtu.be/8zMpRzXxAcA

Video on list comprehension:
https://youtu.be/6AVKA8mEY98

Source


[ad_2]

One Comment

  • Algovibes
    December 2, 2020

    Want more python tricks.

Write a comment