Skip to content

Tasks#2

Open
psilentium wants to merge 14 commits intoeffect:masterfrom
psilentium:master
Open

Tasks#2
psilentium wants to merge 14 commits intoeffect:masterfrom
psilentium:master

Conversation

@psilentium
Copy link

No description provided.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

str(''.join([str(i) for i in a])) это масло масляное, ''.join([str(i) for i in a])это уже строка.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

''.join([str(i) for i in a]) это почти тоже самое, что и ''.join((str(i) for i in a)), что можно сократить до ''.join(str(i) for i in a)

@matklad
Copy link
Collaborator

matklad commented Apr 11, 2014

Больше пробелов

По PEP8 нужно ставить пробелы вокруг бинарных операторов: a + b а не a+b.

После запятых пробелы надо ставить всегда, даже в русском языке =)

Pycharm умеет делать реформат кода

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seq объявляется тут...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants