the description
---------------
11 tips to write better python code.
lets go thru them one-by-one:
1. iterate with enumerate.
2. list comprehension
3. sort complex iterables. Sorted().
4. unique values (sets).
5. save memory with generators.
6. default values in dicts.
7. count hashable objects.
8. format strings with f-strings.
9. concatenate strings with .join.
10. merge dicts {**d1, **d2}
11. simplify if statements.
useful links
------------
book:
https://www.amazon.co.uk/dp/B0BHL2XKCR
useful hashtags
---------------
#python
#pythontutorial
#pythonprogramming
#pythonforbeginners
#pythonprojects
On this page of the site you can watch the video online python coding - 11 tips to write better python code with a duration of hours minute second in good quality, which was uploaded by the user Darren Lefcoe 01 January 1970, share the link with friends and acquaintances, this video has already been watched 97 times on youtube and it was liked by 2 viewers. Enjoy your viewing!