python coding - 11 tips to write better python code

Опубликовано: 01 Январь 1970
на канале: Darren Lefcoe
97
2

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


На этой странице сайта вы можете посмотреть видео онлайн python coding - 11 tips to write better python code длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Darren Lefcoe 01 Январь 1970, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 97 раз и оно понравилось 2 зрителям. Приятного просмотра!