EASY Formatting Trick In Python #code #python #programming

preview_player
Показать описание
Easy formatting trick in Python. #code #programming #python
Рекомендации по теме
Комментарии
Автор

I wish people could read docs by themselves, there are so many useful stuff there like this

needywallaby
Автор

python has built-in module named pprint for pretty printing

from pprint import pprint
pprint(my_collection)

emilksenzovski
Автор

Me: debugging with print
Indently: better use proper style for something nobody other than you is ever going to see

codereboot
Автор

.join method of str can be used instead of sep of print, but only works for lists, not sure about other iters.

SeekingAura
Автор

I've been doing this for... Well quite a long time. I remember showing a very nerdy friend a project I did and that's the thing they were most impressed with. xD

Wallee
Автор

(*l, sep='\n', end='.')

rodrigooballe
Автор

Nice video. But please use proper variable names instead of i j k l m n even in demo videos.

django
Автор

I thought you will show how to rename a variable. Seriously, l is not appropriate

keng_aust
Автор

python is so confusing. I wont learn python c++ is nicer for me.

PraviLukijanJC